Session.RemoveEvent(Event) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.