Freigeben über


Session.RemoveEvent(Event) Method

Definition

Removes the event object from the session.

public bool RemoveEvent (Microsoft.SqlServer.Management.XEvent.Event evt);
member this.RemoveEvent : Microsoft.SqlServer.Management.XEvent.Event -> bool
Public Function RemoveEvent (evt As Event) As Boolean

Parameters

evt
Event

The event object.

Returns

Returns whether the event is successfully removed.

Exceptions

Parameter evt is null.

Applies to