PolicyStore.EnumRootFacets 方法

Returns a list of root facets for the specified type.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Shared Function EnumRootFacets ( _
    rootType As Type _
) As FacetInfoCollection
用法
Dim rootType As Type 
Dim returnValue As FacetInfoCollection 

returnValue = PolicyStore.EnumRootFacets(rootType)
public static FacetInfoCollection EnumRootFacets(
    Type rootType
)
public:
static FacetInfoCollection^ EnumRootFacets(
    Type^ rootType
)
static member EnumRootFacets : 
        rootType:Type -> FacetInfoCollection
public static function EnumRootFacets(
    rootType : Type
) : FacetInfoCollection

参数

  • rootType
    类型:System.Type
    A Type object that specifies the root type.

返回值

类型:Microsoft.SqlServer.Management.Dmf.FacetInfoCollection
A FacetInfoCollection of root facets for the specified type.

示例

A FacetInfoCollection object that contains the list of root facet information.

请参阅

参考

PolicyStore 类

Microsoft.SqlServer.Management.Dmf 命名空间