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 命名空间