共用方式為


EnumPoliciesOnFacet 方法 (String)

Returns a list of policies associated with the specified facet.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Function EnumPoliciesOnFacet ( _
    facet As String _
) As StringCollection
'用途
Dim instance As PolicyStore
Dim facet As String
Dim returnValue As StringCollection

returnValue = instance.EnumPoliciesOnFacet(facet)
public StringCollection EnumPoliciesOnFacet(
    string facet
)
public:
StringCollection^ EnumPoliciesOnFacet(
    String^ facet
)
member EnumPoliciesOnFacet : 
        facet:string -> StringCollection 
public function EnumPoliciesOnFacet(
    facet : String
) : StringCollection

參數

傳回值

型別:System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that contains the list of policies that are associated with the facet.