SfcCollection<T, K, ParentT>.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.

请参阅

参考

SfcCollection<T, K, ParentT> 类

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间