PolicyStore.EnumPoliciesOnFacet Method
Returns a list of policies associated with the specified facet.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Function EnumPoliciesOnFacet ( _
facet As String _
) As StringCollection
'Usage
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
Parameters
- facet
Type: System.String
A String object that specifies the target object.
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection object that contains the list of policies that are associated with the facet.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
See Also