共用方式為


PolicyStore.EnumPolicyCategories Method

Definition

Returns a read-only collection containing all of the policy categories.

public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.SqlServer.Management.Dmf.PolicyCategoryInformation> EnumPolicyCategories ();
member this.EnumPolicyCategories : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.SqlServer.Management.Dmf.PolicyCategoryInformation>
Public Function EnumPolicyCategories () As ReadOnlyCollection(Of PolicyCategoryInformation)

Returns

Applies to