Método Event.RemoveAction
Removes an Action object from the Session object.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Function RemoveAction ( _
action As Action _
) As Boolean
'Uso
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
Parâmetros
- action
Tipo: Microsoft.SqlServer.Management.XEvent.Action
The Action object to be removed.
Valor de retorno
Tipo: System.Boolean
Returns True if the action is found and removed; otherwise, False.