Compartir a través de


CloseServer (clsServer)

[!NOTA]

  Esta característica se quitará en la versión siguiente de Microsoft SQL Server. No utilice esta característica en nuevos trabajos de desarrollo y modifique lo antes posible las aplicaciones que actualmente la utilizan.

The CloseServer method of an object of ClassType clsServer releases all server resources and sets the State property of the object to stateUnknown.

Sintaxis

dsoServer.CloseServer    

Parámetros

  • dsoServer
    The Decision Support Objects (DSO) server object to be closed.

Ejemplo

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

Vea también

Referencia