Share via


Event.Actions Property

Gets the actions for the XEvent object constructed by the user.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Action))> _
Public ReadOnly Property Actions As ActionCollection 
    Get
'Usage
Dim instance As Event 
Dim value As ActionCollection 

value = instance.Actions
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Action))]
public ActionCollection Actions { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Action))]
public:
property ActionCollection^ Actions {
    ActionCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Action))>]
member Actions : ActionCollection
function get Actions () : ActionCollection

Property Value

Type: Microsoft.SqlServer.Management.XEvent.ActionCollection
The EventInfo object for the Event object.

See Also

Reference

Event Class

Microsoft.SqlServer.Management.XEvent Namespace