Update (clsServer)

Notes

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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.

Syntaxe

object.Update    

Paramètres

  • object
    An object of ClassType clsServer.

Notes

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.

Exemple

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

Voir aussi

Référence