Share via


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)

Syntax

'Declaration
Public NotInheritable Class PolicyCategoryCollection _
    Inherits SfcCollatedDictionaryCollection(Of PolicyCategory, PolicyCategory..::..Key, PolicyStore)
'Usage
Dim instance As PolicyCategoryCollection
public sealed class PolicyCategoryCollection : SfcCollatedDictionaryCollection<PolicyCategory, PolicyCategory..::..Key, PolicyStore>
public ref class PolicyCategoryCollection sealed : public SfcCollatedDictionaryCollection<PolicyCategory^, PolicyCategory..::..Key^, PolicyStore^>
[<SealedAttribute>]
type PolicyCategoryCollection =  
    class
        inherit SfcCollatedDictionaryCollection<PolicyCategory, PolicyCategory..::..Key, PolicyStore>
    end
public final class PolicyCategoryCollection extends SfcCollatedDictionaryCollection<PolicyCategory, PolicyCategory..::..Key, PolicyStore>

Remarks

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.

Inheritance Hierarchy

System.Object
  SfcCollection<PolicyCategory, PolicyCategory.Key, PolicyStore>
    SfcCollatedDictionaryCollection<PolicyCategory, PolicyCategory.Key, PolicyStore>
      Microsoft.SqlServer.Management.Dmf.PolicyCategoryCollection

Thread Safety

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