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.