Condividi tramite


CloseServer (clsServer)

[!NOTA]   Questa funzionalità verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa funzionalità in un nuovo progetto di sviluppo e modificare appena possibile le applicazioni in cui questa funzionalità viene utilizzata.

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

Sintassi

dsoServer.CloseServer    

Parametri

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

Esempio

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

Vedere anche

Riferimento

clsServer

Guida in linea e informazioni

Assistenza su SQL Server 2005