مشاركة عبر


Event.AddAction Method (ActionInfo)

Creates an Action object from an ActionInfo object and adds it to the ActionCollection.

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

Syntax

'Declaration
Public Function AddAction ( _
    actionInfo As ActionInfo _
) As Action
'Usage
Dim instance As Event 
Dim actionInfo As ActionInfo 
Dim returnValue As Action 

returnValue = instance.AddAction(actionInfo)
public Action AddAction(
    ActionInfo actionInfo
)
public:
Action^ AddAction(
    ActionInfo^ actionInfo
)
member AddAction : 
        actionInfo:ActionInfo -> Action
public function AddAction(
    actionInfo : ActionInfo
) : Action

Parameters

Return Value

Type: Microsoft.SqlServer.Management.XEvent.Action
The newly-created Action object.

See Also

Reference

Event Class

AddAction Overload

Microsoft.SqlServer.Management.XEvent Namespace