Sdílet prostřednictvím


PolicyStore.EnumPoliciesOnFacet Method (String)

Returns a list of policies associated with the specified facet.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function EnumPoliciesOnFacet ( _
    facet As String _
) As StringCollection
'Usage
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

Parameters

Return Value

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

See Also

Reference

PolicyStore Class

EnumPoliciesOnFacet Overload

Microsoft.SqlServer.Management.Dmf Namespace