PolicyStore.EnumApplicablePolicyCategories(SfcQueryExpression) Method

Definition

Returns a read-only collection containing each policy category, repeated for each of the policies in that category, and a flag if the target subscribes to the category, all of the database and database descendent policies in the category, and the execution mode of the policy. Note: this method is currently only valid on database targets.

public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.SqlServer.Management.Dmf.PolicyCategoryInformation> EnumApplicablePolicyCategories (Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression target);
member this.EnumApplicablePolicyCategories : Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.SqlServer.Management.Dmf.PolicyCategoryInformation>
Public Function EnumApplicablePolicyCategories (target As SfcQueryExpression) As ReadOnlyCollection(Of PolicyCategoryInformation)

Parameters

Returns

Applies to