EventLogProviderClearEventLogInternal Method |
Clears entire event log and writes new event record with information about this action and the user who performed it.
Namespace: CMS.EventLogAssembly: CMS.EventLog (in CMS.EventLog.dll) Version: 11.0.0
Syntaxprotected 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