Compartilhar via


Classe PolicyCategoryCollection

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 (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
Public NotInheritable Class PolicyCategoryCollection _
    Inherits SfcCollatedDictionaryCollection(Of PolicyCategory, PolicyCategory..::..Key, PolicyStore)
'Uso
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>

Comentários

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.

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Hierarquia de herança

System. . :: . .Object
  SfcCollection< (Of < ( <'PolicyCategory, PolicyCategory. . :: . .Key, PolicyStore> ) > ) >
    SfcCollatedDictionaryCollection< (Of < ( <'PolicyCategory, PolicyCategory. . :: . .Key, PolicyStore> ) > ) >
      Microsoft.SqlServer.Management.Dmf..::..PolicyCategoryCollection

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.