Share via


ObjectSet.TargetSets Property

Gets the TargetSetCollection.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(TargetSet))> _
Public ReadOnly Property TargetSets As TargetSetCollection 
    Get
'Usage
Dim instance As ObjectSet 
Dim value As TargetSetCollection 

value = instance.TargetSets
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(TargetSet))]
public TargetSetCollection TargetSets { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(TargetSet))]
public:
property TargetSetCollection^ TargetSets {
    TargetSetCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(TargetSet))>]
member TargetSets : TargetSetCollection
function get TargetSets () : TargetSetCollection

Property Value

Type: Microsoft.SqlServer.Management.Dmf.TargetSetCollection
A target set collection.

See Also

Reference

ObjectSet Class

Microsoft.SqlServer.Management.Dmf Namespace