The EventLog type exposes the following members.

Constructors

  NameDescription
Public methodEventLog

Properties

  NameDescription
Public propertyBackupPath
Sets the Backup Path
Public propertyCategoryCount
Sets the number of categories in the category resource file
Public propertyCategoryResourceFile
Sets the path of the category resource file to write events with localized category strings
Public propertyExists
Gets a value indicating whether the event log exists.
Public propertyLogName
Sets the name of the Event Log
Public propertyMachineName (Overrides BaseTask..::..MachineName.)
Public propertyMaxSize
Sets the size of the max.
Public propertyMessageResourceFile
Sets the path of the message resource file to configure an event log source to write localized event messages
Public propertyParameterResourceFile
Sets the path of the parameter resource file to configure an event log source to write localized event messages with inserted parameter strings
Public propertyRetention
Sets the retention. Any value > 0 is interpreted as days to retain. Use -1 for 'Overwrite as needed'. Use -2 for 'Never Overwrite'
Public propertyTaskAction (Overrides BaseTask..::..TaskAction.)

See Also