Analysis Services Programming
CloseServer (clsServer)
The CloseServer method of an object of ClassType clsServer releases all server resources and sets the State property of the object to stateUnknown.
Syntax
dsoServer.CloseServer
dsoServer
The Decision Support Objects (DSO) server object to be closed.
Example
The following example assumes that the server object exists and is connected to an Analysis server. The example closes a previously created connection:
dsoServer.CloseServer