CloseServer (clsServer)

ms133865.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The CloseServer method of an object of ClassType clsServer releases all server resources and sets the State property of the object to stateUnknown.

语法

dsoServer.CloseServer    

参数

  • dsoServer
    The Decision Support Objects (DSO) server object to be closed.

示例

The following example assumes that the server object exists and is connected to an Analysis server. The example closes a previously created connection:

dsoServer.CloseServer

请参阅

参考

clsServer

帮助和信息

获取 SQL Server 2005 帮助