IDataCollectorSet::Delete method (pla.h)

Deletes the persisted copy of the data collector set if the set is not running.

Syntax

HRESULT Delete();

Return value

Returns S_OK if successful. The following table shows a possible error value.

Return code Description
HRESULT_FROM_WIN32(RPC_S_SERVER_UNAVAILABLE)
The RPC server is not available. The method is unable to delete the data collector set remotely. To delete the data collector set on a remote computer running Windows Vista, enable Performance Logs and Alerts in Windows Firewall Settings on the remote computer.

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

IDataCollectorSet

IDataCollectorSet::Status