Partilhar via


Método EnumPoliciesOnFacet

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.

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.