Share via


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.

See Also

Axis Object | Cell Object | Member Object | Open Method | Position Object | State Property

Applies To: Cellset Object