Share via


TargetInfo.Parent Property

Gets or sets the parent Package ojbect.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Package 
    Get 
    Set
'Usage
Dim instance As TargetInfo 
Dim value As Package 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)]
public Package Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectCardinality::One)]
public:
property Package^ Parent {
    Package^ get ();
    void set (Package^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)>]
member Parent : Package with get, set
function get Parent () : Package 
function set Parent (value : Package)

Property Value

Type: Microsoft.SqlServer.Management.XEvent.Package
The parent Package object.

See Also

Reference

TargetInfo Class

Microsoft.SqlServer.Management.XEvent Namespace