Export (0) Print
Expand All

IRefreshable.Refresh Method

Refreshes object properties by reading them from the server.

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

void 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft