Classe PolicyCategoryCollection
The PolicyCategoryCollection class represents a collection of PolicyCategory objects that represent all policy categories in the policy store.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (dans Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public NotInheritable Class PolicyCategoryCollection _
Inherits SfcCollatedDictionaryCollection(Of PolicyCategory, PolicyCategory..::..Key, PolicyStore)
'Utilisation
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>
Notes
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.
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Hiérarchie d'héritage
System. . :: . .Object
SfcCollection< (Of < ( <'PolicyCategory, PolicyCategory. . :: . .Key, PolicyStore> ) > ) >
SfcCollatedDictionaryCollection< (Of < ( <'PolicyCategory, PolicyCategory. . :: . .Key, PolicyStore> ) > ) >
Microsoft.SqlServer.Management.Dmf..::..PolicyCategoryCollection
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.
Voir aussi