次の方法で共有


CloseServer (clsServer)

ms133865.note(ja-jp,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 の参考資料の入手