Share via


SfcMetadataDiscovery.GetParentsFromType Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Public Shared Function GetParentsFromType ( _
    childType As Type _
) As List(Of Type)
'Usage
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>

Parameters

Return Value

Type: System.Collections.Generic.List<Type>
The list of possible parent type.

See Also

Reference

SfcMetadataDiscovery Class

Microsoft.SqlServer.Management.Sdk.Sfc.Metadata Namespace