Share via


Package.TargetInfoSet Property

Gets the TargetInfoCollection contained by the package.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(TargetInfo))> _
Public ReadOnly Property TargetInfoSet As TargetInfoCollection 
    Get
'Usage
Dim instance As Package 
Dim value As TargetInfoCollection 

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

Property Value

Type: Microsoft.SqlServer.Management.XEvent.TargetInfoCollection
A collection of TargetInfo objects.

See Also

Reference

Package Class

Microsoft.SqlServer.Management.XEvent Namespace