PolicyStore.EnumApplicablePolicyCategories(SfcQueryExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- target
- SfcQueryExpression