Update (clsServer)

注意注意

  この機能は、Microsoft SQL Server の次のバージョンで削除されます。 新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

The Update method of an object of ClassType clsServer updates an object definition in the metadata repository. This method must be called after any attribute for the server object has been changed, or the affected metadata for the changes will not be persistent past the server object scope.

構文

object.Update    

パラメーター

  • object
    An object of ClassType clsServer.

説明

Whenever a write-enabled server property is changed, its metadata in the repository must be updated with this method. Subordinate objects are automatically updated when you update an object that contains other objects, such as a cube that contains partitions, dimensions, and measures.

使用例

The following example invokes the Update method after setting the server timeout property:

' Assume dsoServer is connected to Analysis Services.
dsoServer.Timeout = 30 ' = 30 seconds.
dsoServer.Update

関連項目

参照