PolicyCategoryCollection 類別
The PolicyCategoryCollection class represents a collection of PolicyCategory objects that represent all policy categories in the policy store.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Public NotInheritable Class PolicyCategoryCollection _
Inherits SfcCollatedDictionaryCollection(Of PolicyCategory, PolicyCategory..::..Key, PolicyStore)
'用途
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>
備註
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.
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
繼承階層
System. . :: . .Object
SfcCollection< (Of < ( <'PolicyCategory, PolicyCategory. . :: . .Key, PolicyStore> ) > ) >
SfcCollatedDictionaryCollection< (Of < ( <'PolicyCategory, PolicyCategory. . :: . .Key, PolicyStore> ) > ) >
Microsoft.SqlServer.Management.Dmf..::..PolicyCategoryCollection
執行緒安全性
這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。