SmoCollectionBase.InitializeChildCollection Method (Boolean)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Sub InitializeChildCollection ( _
    refresh As Boolean _
)
'Usage
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
)

Parameters

  • refresh
    Type: 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.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Using Collections

See Also

Reference

SmoCollectionBase Class

InitializeChildCollection Overload

Microsoft.SqlServer.Management.Smo Namespace