共用方式為


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