Event.RemoveAction Method
Removes an Action object from the Session object.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public Function RemoveAction ( _
action As Action _
) As Boolean
'Usage
Dim instance As Event
Dim action As Action
Dim returnValue As Boolean
returnValue = instance.RemoveAction(action)
public bool RemoveAction(
Action action
)
public:
bool RemoveAction(
Action^ action
)
member RemoveAction :
action:Action -> bool
public function RemoveAction(
action : Action
) : boolean
Parameters
- action
Type: Microsoft.SqlServer.Management.XEvent.Action
The Action object to be removed.
Return Value
Type: System.Boolean
Returns True if the action is found and removed; otherwise, False.