Méthode PolicyStore.EnumPoliciesOnFacet (String)
Returns a list of policies associated with the specified 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 _
) As StringCollection
'Utilisation
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
Paramètres
- facet
Type : System.String
A String object that specifies the target object.
Valeur de retour
Type : System.Collections.Specialized.StringCollection
A StringCollection object that contains the list of policies that are associated with the facet.