Click or drag to resize
EventLogProviderClearEventLog Method
Clears entire event log and writes new event record with information about this action and the user who performed it.

Namespace: CMS.EventLog
Assembly: CMS.EventLog (in CMS.EventLog.dll) Version: 8.2.23
Syntax
C#
public static void ClearEventLog(
	int userId,
	string userName,
	string ipAddress,
	int siteId
)

Parameters

userId
Type: SystemInt32
User ID for logging purposes
userName
Type: SystemString
User name for logging purposes
ipAddress
Type: SystemString
IP address for logging purposes
siteId
Type: SystemInt32
Site ID for logging purposes
See Also