Event.RemoveAction Método
Removes an Action object from the Session object.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: System.Boolean
Returns True if the action is found and removed; otherwise, False.