Refresh (clsServer)
Nota
Questa caratteristica verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa caratteristica in un nuovo progetto di sviluppo e modificare non appena possibile le applicazioni in cui è attualmente implementata.
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.
Sintassi
object.Refresh
Parametri
- object
An object of ClassType clsServer.
Osservazioni
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.
Nota
Objects that are locked are not refreshed.
Esempio
The following example invokes the Refresh method:
' Assume dsoServer has already been connected to Analysis Services.
dsoServer.Refresh