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.