Freigeben über


Refresh (clsServer)

ms132784.note(de-de,SQL.90).gifHinweis:
  Dieses Feature wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature nicht zum Entwickeln neuer Anwendungen, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird, zum frühstmöglichen Zeitpunkt ein.

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.

ms132784.note(de-de,SQL.90).gifHinweis:
  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

Siehe auch

Verweis

clsServer

Hilfe und Informationen

Informationsquellen für SQL Server 2005