Refresh (clsServer)
Hinweis |
---|
Diese Funktion wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie so bald wie möglich das Ändern von Anwendungen, in denen es zurzeit verwendet wird. |
The Refresh method of an object of ClassType clsServer reads all current metadata from the repository and modifies all objects in the session's object model to match the current repository state.
Syntax
object.Refresh
Parameter
- object
An object of ClassType clsServer.
Hinweise
All objects in the session's object model are refreshed. This includes objects whose properties have not yet been saved to the repository, as well as objects whose properties in the repository have been changed by other users.
Hinweis |
---|
Objects that are locked are not refreshed. |
Beispiel
The following example invokes the Refresh method:
' Assume dsoServer has already been connected to Analysis Services.
dsoServer.Refresh