IRefreshable.Refresh Método
Refreshes object properties by reading them from the server.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Sub Refresh
'Uso
Dim instance As IRefreshable
instance.Refresh()
void Refresh()
void Refresh()
abstract Refresh : unit -> unit
function Refresh()
Comentarios
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.