FacetRepository.IsRootFacet Method
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
Parameters
- 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.
Return Value
Type: System.Boolean
A Boolean value that specifies whether the facet is the root.If True, the facet is the root. Otherwise, False.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.