API Reference
Class
EventLogPolicyInfo
Summarizes Windows Event Log policy settings (retention and size) for Application, Security and System logs.
Inheritance
- Object
- EventLogPolicyInfo
Constructors
public EventLogPolicyInfo() #Inherited Methods
Properties
public String ApplicationRetention { get; set; } #Application log retention mode (e.g., OverwriteAsNeeded, DoNotOverwrite).
public Nullable<Int32> ApplicationRetentionDays { get; set; } #Application log retention days (when applicable).
public Nullable<Int32> ApplicationMaxSizeKB { get; set; } #Application log maximum size in kilobytes.
public String SecurityRetention { get; set; } #Security log retention mode.
public Nullable<Int32> SecurityRetentionDays { get; set; } #Security log retention days (when applicable).
public Nullable<Int32> SecurityMaxSizeKB { get; set; } #Security log maximum size in kilobytes.
public String SystemRetention { get; set; } #System log retention mode.
public Nullable<Int32> SystemRetentionDays { get; set; } #System log retention days (when applicable).
public Nullable<Int32> SystemMaxSizeKB { get; set; } #System log maximum size in kilobytes.