EventLog.Retention Property

MSBuild Extension Pack

EventLogRetention Property MSBuild Extension Pack Help 4.0.12.0
Sets the retention. Any value > 0 is interpreted as days to retain. Use -1 for 'Overwrite as needed'. Use -2 for 'Never Overwrite'

Namespace: MSBuild.ExtensionPack.Computer
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 4.0.0.0
See Also

Reference