PolicyStore.ObjectSets Property
Represents a collection of ObjectSet objects. Each ObjectSet object represents a policy-based Management object set.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in microsoft.sqlserver.dmf.dll)
Syntax
'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, GetType(ObjectSet))> _
Public ReadOnly Property ObjectSets As ObjectSetCollection
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, typeof(ObjectSet))]
public ObjectSetCollection ObjectSets { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, typeof(ObjectSet))]
public:
property ObjectSetCollection^ ObjectSets {
ObjectSetCollection^ get ();
}
/** @property */
public ObjectSetCollection get_ObjectSets ()
public function get ObjectSets () : ObjectSetCollection
Property Value
A ObjectSetCollection object that represents all the object sets that are defined on the policy store.
Remarks
This collection references specific object sets by specifying the name of the object set. To add a new object set to the collection, call the object set constructor ObjectSet.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server., Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0
See Also