PolicyStore.EnumPoliciesOnFacet Method (String, PolicyStore.EnumerationMode)
Enumerates policy items on a facet.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Function EnumPoliciesOnFacet ( _
facet As String, _
enumerationMode As PolicyStore.EnumerationMode _
) As StringCollection
'Usage
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
Parameters
- facet
Type: System.String
A string value that specifies the facet.
- enumerationMode
Type: Microsoft.SqlServer.Management.Dmf.PolicyStore.EnumerationMode
A PolicyStore.EnumerationMode object.
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection of policy items.