The CloseServer method of an object of ClassType clsServer releases all server resources and sets the State property of the object to stateUnknown.
dsoServer.CloseServer
dsoServer
The Decision Support Objects (DSO) server object to be closed.
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