Dela via


Action.Parent Property

Gets or sets the XEvent object that is the parent of this action.

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 Action 
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)

Property Value

Type: Microsoft.SqlServer.Management.XEvent.Event
An XEvent object that specifies the parent.

See Also

Reference

Action Class

Microsoft.SqlServer.Management.XEvent Namespace