Поделиться через


Метод Refresh

Refreshes object properties by reading them from the server.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Sub Refresh
'Применение
Dim instance As IRefreshable

instance.Refresh()
void Refresh()
void Refresh()
abstract Refresh : unit -> unit 
function Refresh()

Замечания

The Refresh method clears the local properties, extended properties, and permissions cache. Then, it reloads properties from the server.

If the object has been dropped, this method throws the FailedOperationException exception.

Object state transitions are completed before clearing the local cache.