TraceCollection.Remove Method (String, Boolean)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Removes the Trace that has the specified identifier from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
id As String, _
cleanUp As Boolean _
)
'Usage
Dim instance As TraceCollection
Dim id As String
Dim cleanUp As Boolean
instance.Remove(id, cleanUp)
public void Remove(
string id,
bool cleanUp
)
public:
void Remove(
String^ id,
bool cleanUp
)
member Remove :
id:string *
cleanUp:bool -> unit
public function Remove(
id : String,
cleanUp : boolean
)
Parameters
- id
Type: System.String
The identifier of the Trace to remove.
- cleanUp
Type: System.Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.