ITraceDataProviderCollection::Add method (pla.h)

Adds a trace provider to the collection.

Syntax

HRESULT Add(
  [in] ITraceDataProvider *pProvider
);

Parameters

[in] pProvider

An ITraceDataProvider interface of the trace provider to add to this collection.

Return value

Returns S_OK if successful.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header pla.h
DLL Pla.dll

See also

ITraceDataProviderCollection

ITraceDataProviderCollection::AddRange

ITraceDataProviderCollection::Remove