ITraceDataProviderCollection::Remove method (pla.h)
Removes a trace provider from the collection.
HRESULT Remove( [in] VARIANT vProvider );
The zero-based index of the trace provider to remove from the collection. The variant type can be VT_I4, VT_UI4, or VT_DISPATCH.
Returns S_OK if successful.
If the variant type is VT_DISPATCH, pass the IDispatch interface of the ITraceDataProvider interface to be removed.
Note that by removing the trace provider from the collection, you are also removing the provider from the trace data collector.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|