Event.Parent Property
Gets or sets the parent Session object for an event.
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 Event
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
The parent Session object for an event.