Partager via


Méthode FacetRepository.IsRootFacet

Determines whether the facet is the root type.

Espace de noms :  Microsoft.SqlServer.Management.Facets
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Shared Function IsRootFacet ( _
    rootType As Type, _
    facet As Type _
) As Boolean
'Utilisation
Dim rootType As Type 
Dim facet As Type 
Dim returnValue As Boolean 

returnValue = FacetRepository.IsRootFacet(rootType, _
    facet)
public static bool IsRootFacet(
    Type rootType,
    Type facet
)
public:
static bool IsRootFacet(
    Type^ rootType, 
    Type^ facet
)
static member IsRootFacet : 
        rootType:Type * 
        facet:Type -> bool
public static function IsRootFacet(
    rootType : Type, 
    facet : Type
) : boolean

Paramètres

  • rootType
    Type : System.Type
    A Type object value that specifies the root type.
  • facet
    Type : System.Type
    A Type object value that specifies the facet type.

Valeur de retour

Type : System.Boolean
A Boolean value that specifies whether the facet is the root.If True, the facet is the root. Otherwise, False.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Voir aussi

Référence

FacetRepository Classe

Espace de noms Microsoft.SqlServer.Management.Facets