TraceCollection.Remove TraceCollection.Remove TraceCollection.Remove Method

Definition

Removes a Trace from the collection.

Overloads

Remove(Trace) Remove(Trace) Remove(Trace)

Removes the specified Trace from the collection.

Remove(String) Remove(String) Remove(String)

Removes the Trace that has the specified identifier from the collection.

Remove(Trace, Boolean) Remove(Trace, Boolean) Remove(Trace, Boolean)

Removes the specified Trace from the collection.

Remove(String, Boolean) Remove(String, Boolean) Remove(String, Boolean)

Removes the Trace that has the specified identifier from the collection.

Remove(Trace) Remove(Trace) Remove(Trace)

Removes the specified Trace from the collection.

public:
 void Remove(Microsoft::AnalysisServices::Trace ^ item);
public void Remove (Microsoft.AnalysisServices.Trace item);
Public Sub Remove (item As Trace)
Parameters
item
Trace Trace Trace

The Trace to remove.

Exceptions

item does not exist in the collection.

Remove(String) Remove(String) Remove(String)

Removes the Trace that has the specified identifier from the collection.

public:
 void Remove(System::String ^ id);
public void Remove (string id);
Public Sub Remove (id As String)
Parameters
id
String String String

The identifier of the Trace to remove.

Exceptions

id does not exist in the collection.

Remove(Trace, Boolean) Remove(Trace, Boolean) Remove(Trace, Boolean)

Removes the specified Trace from the collection.

public:
 void Remove(Microsoft::AnalysisServices::Trace ^ item, bool cleanUp);
public void Remove (Microsoft.AnalysisServices.Trace item, bool cleanUp);
Public Sub Remove (item As Trace, cleanUp As Boolean)
Parameters
item
Trace Trace Trace

The Trace to remove.

cleanUp
Boolean Boolean Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remove(String, Boolean) Remove(String, Boolean) Remove(String, Boolean)

Removes the Trace that has the specified identifier from the collection.

public:
 void Remove(System::String ^ id, bool cleanUp);
public void Remove (string id, bool cleanUp);
Public Sub Remove (id As String, cleanUp As Boolean)
Parameters
id
String String String

The identifier of the Trace to remove.

cleanUp
Boolean Boolean Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Applies to