共用方式為


Methods, clsServer

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

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

請參閱

參考