Share via


FacetRepository.IsRootFacet メソッド

ファセットがルート型であるかどうかを示します。

名前空間:  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
    ルート型を指定する Type オブジェクト値です。
  • facet
    型: System.Type
    ファセットの型を指定する Type オブジェクト値です。

戻り値

型: System.Boolean
ファセットがルートであるかどうかを示す Boolean 値です。 True の場合、ファセットはルートです。それ以外の場合は False です。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

関連項目

参照

FacetRepository クラス

Microsoft.SqlServer.Management.Facets 名前空間