Share via


TraceCollection.Remove Method (Trace, Boolean)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Removes the specified Trace from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Remove ( _
    item As Trace, _
    cleanUp As Boolean _
)
'Usage
Dim instance As TraceCollection 
Dim item As Trace 
Dim cleanUp As Boolean

instance.Remove(item, cleanUp)
public void Remove(
    Trace item,
    bool cleanUp
)
public:
void Remove(
    Trace^ item, 
    bool cleanUp
)
member Remove : 
        item:Trace * 
        cleanUp:bool -> unit
public function Remove(
    item : Trace, 
    cleanUp : boolean
)

Parameters

  • cleanUp
    Type: System.Boolean
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

TraceCollection Class

Remove Overload

Microsoft.AnalysisServices Namespace