Dela via


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

Exceptions

Exception Condition
ItemNotFoundException

item does not exist in the collection.