Freigeben über


EventField.Parent-Eigenschaft

Gets or sets the parent XEvent 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 Event 
    Get 
    Set
'Usage
Dim instance As EventField 
Dim value As Event 

value = instance.Parent

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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.XEvent.Event
The parent as an XEvent object.

Siehe auch

Verweis

EventField Klasse

Microsoft.SqlServer.Management.XEvent-Namespace