共用方式為


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.