共用方式為


ObjectSetCollection 類別

The ObjectSetCollection class represents a collection of ObjectSet objects that represent all the object sets in the policy store.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public NotInheritable Class ObjectSetCollection _
    Inherits SfcDictionaryCollection(Of ObjectSet, ObjectSet..::..Key, PolicyStore)
'用途
Dim instance As ObjectSetCollection
public sealed class ObjectSetCollection : SfcDictionaryCollection<ObjectSet, ObjectSet..::..Key, PolicyStore>
public ref class ObjectSetCollection sealed : public SfcDictionaryCollection<ObjectSet^, ObjectSet..::..Key^, PolicyStore^>
[<SealedAttribute>]
type ObjectSetCollection =  
    class
        inherit SfcDictionaryCollection<ObjectSet, ObjectSet..::..Key, PolicyStore>
    end
public final class ObjectSetCollection extends SfcDictionaryCollection<ObjectSet, ObjectSet..::..Key, PolicyStore>

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

使用集合

繼承階層

System. . :: . .Object
  SfcCollection< (Of < ( <'ObjectSet, ObjectSet. . :: . .Key, PolicyStore> ) > ) >
    SfcDictionaryCollection< (Of < ( <'ObjectSet, ObjectSet. . :: . .Key, PolicyStore> ) > ) >
      Microsoft.SqlServer.Management.Dmf..::..ObjectSetCollection

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。