共用方式為


FacetRepository.IsRootFacet 方法

Determines whether the facet is the root type.

命名空間:  Microsoft.SqlServer.Management.Facets
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Shared Function IsRootFacet ( _
    rootType As Type, _
    facet As Type _
) As Boolean
'用途
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

參數

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

傳回值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

請參閱

參考

FacetRepository 類別

Microsoft.SqlServer.Management.Facets 命名空間