共用方式為


SmoCollectionBase.InitializeChildCollection 方法 (Boolean)

Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection.

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

語法

'宣告
Protected Sub InitializeChildCollection ( _
    refresh As Boolean _
)
'用途
Dim refresh As Boolean 

Me.InitializeChildCollection(refresh)
protected void InitializeChildCollection(
    bool refresh
)
protected:
void InitializeChildCollection(
    bool refresh
)
member InitializeChildCollection : 
        refresh:bool -> unit
protected function InitializeChildCollection(
    refresh : boolean
)

參數

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

備註

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

範例

使用集合

請參閱

參考

SmoCollectionBase 類別

InitializeChildCollection 多載

Microsoft.SqlServer.Management.Smo 命名空間