Método PolicyStore.EnumPoliciesOnFacet (String, PolicyStore.EnumerationMode)
Enumerates policy items on a facet.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Public Function EnumPoliciesOnFacet ( _
facet As String, _
enumerationMode As PolicyStore.EnumerationMode _
) As StringCollection
'Uso
Dim instance As PolicyStore
Dim facet As String
Dim enumerationMode As PolicyStore.EnumerationMode
Dim returnValue As StringCollection
returnValue = instance.EnumPoliciesOnFacet(facet, _
enumerationMode)
public StringCollection EnumPoliciesOnFacet(
string facet,
PolicyStore.EnumerationMode enumerationMode
)
public:
StringCollection^ EnumPoliciesOnFacet(
String^ facet,
PolicyStore.EnumerationMode enumerationMode
)
member EnumPoliciesOnFacet :
facet:string *
enumerationMode:PolicyStore.EnumerationMode -> StringCollection
public function EnumPoliciesOnFacet(
facet : String,
enumerationMode : PolicyStore.EnumerationMode
) : StringCollection
Parâmetros
- facet
Tipo: System.String
A string value that specifies the facet.
- enumerationMode
Tipo: Microsoft.SqlServer.Management.Dmf.PolicyStore.EnumerationMode
A PolicyStore.EnumerationMode object.
Valor de retorno
Tipo: System.Collections.Specialized.StringCollection
A StringCollection of policy items.