Close Method (ADO MD)

See Also      Applies To   

The Close method closes an open Cellset object.

Syntax

Cellset.Close

Remarks

Using the Close method to close a Cellset object releases 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.