Partilhar via


Método IRefreshable.Refresh

Refreshes object properties by reading them from the server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Sub Refresh
'Uso
Dim instance As IRefreshable

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

Comentários

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.

Consulte também

Referência

IRefreshable Interface

Namespace Microsoft.SqlServer.Management.Common