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>
參數
- childType
型別:System. . :: . .Type
The child type.
傳回值
型別:System.Collections.Generic. . :: . .List< (Of < ( <'Type> ) > ) >
The list of possible parent type.