Refresh (clsServer)
Примечание. |
---|
В следующей версии Microsoft SQL Server эта возможность будет удалена. Не используйте ее при работе над новыми приложениями и как можно быстрее измените приложения, в которых она в настоящее время используется. |
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.
Синтаксис
object.Refresh
Параметры
- object
An object of ClassType clsServer.
Замечания
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.
Примечание. |
---|
Objects that are locked are not refreshed. |
Пример
The following example invokes the Refresh method:
' Assume dsoServer has already been connected to Analysis Services.
dsoServer.Refresh