Partager via


TraceEventCollection.Remove Method

Definition

Overloads

Remove(TraceEvent)

Removes the specified TraceEvent from this collection.

Remove(TraceEventClass)

Removes the TraceEvent with the specified EventID from this collection.

Remove(TraceEvent)

Removes the specified TraceEvent from this collection.

public void Remove (Microsoft.AnalysisServices.TraceEvent item);
member this.Remove : Microsoft.AnalysisServices.TraceEvent -> unit
Public Sub Remove (item As TraceEvent)

Parameters

item
TraceEvent

The TraceEvent to remove.

Exceptions

The specified items is a null reference (Nothing in Visual Basic).

The specified item does not exists in the collection.

Applies to

Remove(TraceEventClass)

Removes the TraceEvent with the specified EventID from this collection.

public void Remove (Microsoft.AnalysisServices.TraceEventClass eventId);
member this.Remove : Microsoft.AnalysisServices.TraceEventClass -> unit
Public Sub Remove (eventId As TraceEventClass)

Parameters

eventId
TraceEventClass

The EventId of the TraceEvent to remove.

Applies to