Méthode Event.RemoveAction
Removes an Action object from the Session object.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public Function RemoveAction ( _
action As Action _
) As Boolean
'Utilisation
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
Paramètres
- action
Type : Microsoft.SqlServer.Management.XEvent.Action
The Action object to be removed.
Valeur de retour
Type : System.Boolean
Returns True if the action is found and removed; otherwise, False.