TraceEventCollection.Remove Method (TraceEvent)
Removes the specified TraceEvent from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As TraceEvent _
)
'Usage
Dim instance As TraceEventCollection
Dim item As TraceEvent
instance.Remove(item)
public void Remove(
TraceEvent item
)
public:
void Remove(
TraceEvent^ item
)
member Remove :
item:TraceEvent -> unit
public function Remove(
item : TraceEvent
)
Parameters
- item
Type: Microsoft.AnalysisServices.TraceEvent
The TraceEvent to remov.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item does not exist in the collection. |