Share via


ReadOnlyEventColumnInfo.Parent Property

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

value = instance.Parent

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

Property Value

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

See Also

Reference

ReadOnlyEventColumnInfo Class

Microsoft.SqlServer.Management.XEvent Namespace