Close Method (ADO MD)

Closes an open cellset.




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)