Méthode EnumPoliciesOnFacet (String, PolicyStore.EnumerationMode)
Enumerates policy items on a facet.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Function EnumPoliciesOnFacet ( _
facet As String, _
enumerationMode As PolicyStore..::..EnumerationMode _
) As StringCollection
'Utilisation
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
Paramètres
- facet
Type : System. . :: . .String
A string value that specifies the facet.
- enumerationMode
Type : Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore. . :: . .EnumerationMode
A PolicyStore..::..EnumerationMode object.
Valeur de retour
Type : System.Collections.Specialized. . :: . .StringCollection
A StringCollection of policy items.