共用方式為


CreateAndInitializeChildObject 方法

Creates a child object and adds it to the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Protected Function CreateAndInitializeChildObject ( _
    key As K _
) As T
'用途
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

參數

  • key
    型別:K
    The key for the child object.

傳回值

型別:T
The child object.