Methods, 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é.

An object of ClassType clsServer implements the following methods.

Method

Description

CloseServer

Releases all server resources and sets the State property of the object to stateUnknown

Connect

Connects to the Analysis server service (MSSQLServerOLAPService)

CreateObject

Creates an object

LockObject

Locks a clsServer object

Refresh

Reads all current metadata from the repository and modifies all objects in the object model of a session to match the current repository state

UnlockAllObjects

Removes all locks issued by the current session from objects in the object hierarchy of the clsServer object

UnlockObject

Removes a lock from the clsServer object

Update

Updates an object definition in the metadata repository

Voir aussi

Référence