Freigeben über


FacetRepository.IsRootFacet-Methode

Determines whether the facet is the root type.

Namespace:  Microsoft.SqlServer.Management.Facets
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Shared Function IsRootFacet ( _
    rootType As Type, _
    facet As Type _
) As Boolean
'Usage
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

Parameter

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

Rückgabewert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

FacetRepository Klasse

Microsoft.SqlServer.Management.Facets-Namespace