Methods, clsServer

ms132859.note(zh-cn,SQL.90).gif注意:
  下一版本的 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

请参阅

参考

clsServer

帮助和信息

获取 SQL Server 2005 帮助