RemoveEvent

Remove an event from this source.
The event to be removed is identified by its Event Id.

 

HRESULT RemoveEvent([in] long nId);

Parameters

nId

[in] Id of the event to be removed.

Return Values

S_OK

The specified event was removed from the configuration.

E_INVALIDARG

No event with the specified Id does not exist in the configuration

E_ACCESSDENIED

The object is locked due to an asynchronous operation