ClearActiveEvents

ITcEventLog

This method is used to reset all active events.

HRESULT ClearActiveEvents();

Parameters

Return Values

S_OK

Function was successfully called

Visual Basic sample code

' get the one and only event logger
Dim evtLogger As TCEVENTLOGGERLib.TcEventLog
Set evtLogger = New TCEVENTLOGGERLib.TcEventLog

' clear all active alarms
evtLogger.ClearActiveEvents

Remarks

After this method call the Event Logger will raise the event OnActiveEventsCleared on all client that implements the event interface _ITcEventLogEvents (VB: Dim WithEvents).