Refresh 方法

命名空间:  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.