PolicyStore.EnumPoliciesOnFacet Método (String, PolicyStore.EnumerationMode)
Enumerates policy items on a facet.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: System.Collections.Specialized.StringCollection
A StringCollection of policy items.