Share via


Action.SetActionInfo Method

Sets the ActionInfo object for a pending Action object.

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

Syntax

'Declaration
Public Sub SetActionInfo ( _
    actionInfo As ActionInfo _
)
'Usage
Dim instance As Action 
Dim actionInfo As ActionInfo

instance.SetActionInfo(actionInfo)
public void SetActionInfo(
    ActionInfo actionInfo
)
public:
void SetActionInfo(
    ActionInfo^ actionInfo
)
member SetActionInfo : 
        actionInfo:ActionInfo -> unit
public function SetActionInfo(
    actionInfo : ActionInfo
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The input ActionInfo object is null.

XEventException

The Action object is not in a pending state.

See Also

Reference

Action Class

Microsoft.SqlServer.Management.XEvent Namespace