PolicyCategoryCollection Class

The PolicyCategoryCollection class represents a collection of PolicyCategory objects that represent all policy categories in the policy store.

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

public sealed class PolicyCategoryCollection : SfcCollatedDictionaryCollection<PolicyCategory, PolicyCategory..::..Key, PolicyStore>

A PolicyCategoryCollection object can be used to access a set of policy categories. You can use the Item property to return a specific PolicyCategory object.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

  SfcCollection<PolicyCategory, PolicyCategory.Key, PolicyStore>
    SfcCollatedDictionaryCollection<PolicyCategory, PolicyCategory.Key, PolicyStore>

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions