GetParentsFromType 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Shared Function GetParentsFromType ( _
    childType As Type _
) As List(Of Type)
用法
Dim childType As Type
Dim returnValue As List(Of Type)

returnValue = SfcMetadataDiscovery.GetParentsFromType(childType)
public static List<Type> GetParentsFromType(
    Type childType
)
public:
static List<Type^>^ GetParentsFromType(
    Type^ childType
)
static member GetParentsFromType : 
        childType:Type -> List<Type> 
public static function GetParentsFromType(
    childType : Type
) : List<Type>

参数

返回值

类型:System.Collections.Generic. . :: . .List< (Of < ( <'Type> ) > ) >
The list of possible parent type.