Methods, clsServer

Nota

  Questa caratteristica verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa caratteristica in un nuovo progetto di sviluppo e modificare non appena possibile le applicazioni in cui è attualmente implementata.

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

Vedere anche

Riferimento