PolicyStore.EnumPolicyCategories 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 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)