Metodo PolicyStore.EnumPoliciesOnFacet (String, PolicyStore.EnumerationMode)
Enumerates policy items on a facet.
Spazio dei nomi Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Sintassi
'Dichiarazione
Public Function EnumPoliciesOnFacet ( _
facet As String, _
enumerationMode As PolicyStore.EnumerationMode _
) As StringCollection
'Utilizzo
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
Parametri
- facet
Tipo: System.String
A string value that specifies the facet.
- enumerationMode
Tipo: Microsoft.SqlServer.Management.Dmf.PolicyStore.EnumerationMode
A PolicyStore.EnumerationMode object.
Valore restituito
Tipo: System.Collections.Specialized.StringCollection
A StringCollection of policy items.