ClearLoggedEvents

ITcEventLog

This method is used to reset all logged events.

HRESULT ClearLoggedEvents();

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 logged alarms
evtLogger.ClearLoggedEvents

Remarks

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