Partilhar via


Método PolicyStore.EnumPoliciesOnFacet (String)

Returns a list of policies associated with the specified facet.

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

Sintaxe

'Declaração
Public Function EnumPoliciesOnFacet ( _
    facet As String _
) As StringCollection
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

PolicyStore Classe

Sobrecarregado EnumPoliciesOnFacet

Namespace Microsoft.SqlServer.Management.Dmf