Update (clsServer)

Analysis Services Programming

Analysis Services Programming

Update (clsServer)

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

Syntax

object.Update

object

An object of ClassType clsServer.

Remarks

Whenever a write-enabled server property is changed, its meta data 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.

Example

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

See Also

clsServer