Метод Event.RemoveAction
Removes an Action object from the Session object.
Пространство имен: Microsoft.SqlServer.Management.XEvent
Сборка: Microsoft.SqlServer.Management.XEvent (в Microsoft.SqlServer.Management.XEvent.dll)
Синтаксис
'Декларация
Public Function RemoveAction ( _
action As Action _
) As Boolean
'Применение
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
Параметры
- action
Тип: Microsoft.SqlServer.Management.XEvent.Action
The Action object to be removed.
Возвращаемое значение
Тип: System.Boolean
Returns True if the action is found and removed; otherwise, False.