Condividi tramite


Classe PolicyCategoryCollection

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class PolicyCategoryCollection _
    Inherits SfcCollatedDictionaryCollection(Of PolicyCategory, PolicyCategory..::..Key, PolicyStore)
'Utilizzo
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>

Osservazioni

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.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Gerarchia di ereditarietà

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

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.