Target.Parent Property

Gets the parent Session object for the Target object.

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 Session 
    Get 
    Set
'Usage
Dim instance As Target 
Dim value As Session 

value = instance.Parent

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

Property Value

Type: Microsoft.SqlServer.Management.XEvent.Session
A Session object.

See Also

Reference

Target Class

Microsoft.SqlServer.Management.XEvent Namespace