Partager via


Méthode GetParentsFromType

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Shared Function GetParentsFromType ( _
    childType As Type _
) As List(Of Type)
'Utilisation
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>

Paramètres

Valeur de retour

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