Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 2.1 KB

File metadata and controls

44 lines (37 loc) · 2.1 KB
title Close Method (ADO MD) | Microsoft Docs
ms.prod sql
ms.prod_service connectivity
ms.technology connectivity
ms.custom
ms.date 01/19/2017
ms.reviewer
ms.topic conceptual
apitype COM
f1_keywords
Close
Cellset::Close
helpviewer_keywords
Close method [ADO MD]
ms.assetid a3aa594d-f9d4-4654-8625-ec20153ff5d9
author MightyPen
ms.author genemi

Close Method (ADO MD)

Closes an open cellset.

Syntax

  
Cellset.Close  

Remarks

Using the Close method to close a Cellset object will release the associated data, including data in any related Cell, Axis, Position, or Member objects. Closing a Cellset does not remove it from memory; you can change its property settings and open it again later. To completely eliminate an object from memory, set the object variable to Nothing.

You can later call the Open method to reopen the Cellset using the same or another source string. While the Cellset object is closed, retrieving any properties or calling any methods that reference the underlying data or metadata generates an error.

Applies To

Cellset Object (ADO MD)

See Also

Axis Object (ADO MD)
Cell Object (ADO MD)
Member Object (ADO MD)
Open Method (ADO MD)
Position Object (ADO MD)
State Property (ADO MD)