共用方式為


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

參數

傳回值

型別: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.