Freigeben über


SfcCollection<T, K, ParentT>.CreateAndInitializeChildObject-Methode

Creates a child object and adds it to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Protected Function CreateAndInitializeChildObject ( _
    key As K _
) As T
'Usage
Dim key As K
Dim returnValue As T

returnValue = Me.CreateAndInitializeChildObject(key)
protected T CreateAndInitializeChildObject(
    K key
)
protected:
T CreateAndInitializeChildObject(
    K key
)
member CreateAndInitializeChildObject : 
        key:'K -> 'T 
protected function CreateAndInitializeChildObject(
    key : K
) : T

Parameter

  • key
    Typ: K
    The key for the child object.

Rückgabewert

Typ: T
The child object.

Siehe auch

Verweis

SfcCollection<T, K, ParentT> Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace