|
Action |
Clears a Windows NT eventlog.
|
Syntax |
CLEAREVENTLOG ("eventlog")
|
Parameter |
Eventlog
String indicating the eventlog to clear. By default, Windows NT supports three eventlogs: "Application", "Security" and "System". Optionally, the string can include the name of a remote system on which to clear the log.
|
Returns |
|
0 |
Eventlog cleared. |
|
>0 |
Errorcode. |
|
Examples |
ClearEventlog( "Application" )
ClearEventlog( "\\PDC\Application" )
ClearEventlog( "System" )