Jaa


Refresh (clsServer)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

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    

Parameters

  • object
    An object of ClassType clsServer.

Remarks

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.

Note

  Objects that are locked are not refreshed.

Example

The following example invokes the Refresh method:

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

See Also

Reference

clsServer

Help and Information

Getting SQL Server 2005 Assistance