TraceEventCollection.Remove 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.
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.Tabular.TraceEvent item);
member this.Remove : Microsoft.AnalysisServices.Tabular.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.