CloseServer (clsServer)

[!REMARQUE]

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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

Syntaxe

dsoServer.CloseServer    

Paramètres

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

Exemple

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

Voir aussi

Référence