Click or drag to resize
EventLogProviderClearEventLogInternal Method

Note: This API is now obsolete.

Clears entire event log and writes new event record with information about this action and the user who performed it.

This method is obsolete and will be removed in future version. Use/override ClearEventLogInternal(Int32, String, String, Int32) method instead. If the behavior of this method was changed by overriding, override that method in the helper class.

Namespace: CMS.EventLog
Assembly: CMS.EventLog (in CMS.EventLog.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use/override 'CMS.EventLog.EventLogHelper.ClearEventLogInternal(System.Int32, System.String, System.String, System.Int32)' instead. If the behavior of this method was changed by overriding, override that method in the helper class.")]
protected virtual void ClearEventLogInternal(
	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