Partilhar via


Refresh (clsServer)

ObservaçãoObservação

  Esse recurso será removido na próxima versão do Microsoft SQL Server. Não utilize esse recurso em desenvolvimentos novos e modifique, assim que possível, os aplicativos que atualmente o utilizam.

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.

Sintaxe

object.Refresh    

Parâmetros

  • object
    An object of ClassType clsServer.

Comentários

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.

ObservaçãoObservação

  Objects that are locked are not refreshed.

Exemplo

The following example invokes the Refresh method:

' Assume dsoServer has already been connected to Analysis Services.
dsoServer.Refresh

Consulte também

Referência