共用方式為


Refresh 方法 (Boolean)

Refreshes the referenced collection with the option to refresh child objects of the referenced collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Refresh ( _
    refreshChildObjects As Boolean _
)
'用途
Dim instance As SmoCollectionBase
Dim refreshChildObjects As Boolean

instance.Refresh(refreshChildObjects)
public void Refresh(
    bool refreshChildObjects
)
public:
void Refresh(
    bool refreshChildObjects
)
member Refresh : 
        refreshChildObjects:bool -> unit 
public function Refresh(
    refreshChildObjects : boolean
)

參數

  • refreshChildObjects
    型別:System. . :: . .Boolean
    A Boolean value that specifies whether to refresh the child objects.
    If True, child objects are refreshed.
    If False, child objects are not refreshed.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

使用集合