Share via


Methods, clsServer

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

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

See Also

Reference