EventLog Properties

MSBuild Extension Pack

EventLog Properties MSBuild Extension Pack Help 4.0.12.0

The EventLog type exposes the following members.

Properties

  Name Description
Public property BackupPath
Sets the Backup Path
Public property CategoryCount
Sets the number of categories in the category resource file
Public property CategoryResourceFile
Sets the path of the category resource file to write events with localized category strings
Public property Exists
Gets a value indicating whether the event log exists.
Public property LogName
Sets the name of the Event Log
Public property MaxSize
Sets the size of the max.
Public property MessageResourceFile
Sets the path of the message resource file to configure an event log source to write localized event messages
Public property ParameterResourceFile
Sets the path of the parameter resource file to configure an event log source to write localized event messages with inserted parameter strings
Public property Retention
Sets the retention. Any value > 0 is interpreted as days to retain. Use -1 for 'Overwrite as needed'. Use -2 for 'Never Overwrite'
Top
See Also

Reference