Share via


CloseServer (clsServer)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

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    

Parameters

  • 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

See Also

Reference