PolicyStore.EnumApplicablePolicyCategories Method

Enumerates conditions specified by an SfcQueryExpression object.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function EnumApplicablePolicyCategories ( _
    target As SfcQueryExpression _
) As ReadOnlyCollection(Of PolicyCategoryInformation)
'Usage
Dim instance As PolicyStore 
Dim target As SfcQueryExpression 
Dim returnValue As ReadOnlyCollection(Of PolicyCategoryInformation)

returnValue = instance.EnumApplicablePolicyCategories(target)
public ReadOnlyCollection<PolicyCategoryInformation> EnumApplicablePolicyCategories(
    SfcQueryExpression target
)
public:
ReadOnlyCollection<PolicyCategoryInformation^>^ EnumApplicablePolicyCategories(
    SfcQueryExpression^ target
)
member EnumApplicablePolicyCategories : 
        target:SfcQueryExpression -> ReadOnlyCollection<PolicyCategoryInformation> 
public function EnumApplicablePolicyCategories(
    target : SfcQueryExpression
) : ReadOnlyCollection<PolicyCategoryInformation>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<PolicyCategoryInformation>
A generic ReadOnlyCollection of PolicyCategoryInformation objects.

See Also

Reference

PolicyStore Class

Microsoft.SqlServer.Management.Dmf Namespace