Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ObjectSets Property

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)

[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
public ObjectSetCollection ObjectSets { get; }

Property Value

Type: Microsoft.SqlServer.Management.Dmf.ObjectSetCollection
A ObjectSetCollection object that represents all the object sets that are defined on the policy store.

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.

Community Additions

© 2015 Microsoft