Skip to content

net472_EventLogHelper_SmartEventLogger_RetentionDays

dparvin edited this page Aug 3, 2025 · 2 revisions

SmartEventLogger.RetentionDays property

Gets or sets the number of days event entries are retained before being overwritten.

public static int RetentionDays { get; set; }

Property Value

An integer representing the retention duration in days. Defaults to 7.

Remarks

Used when initializing a new event log. May be ignored depending on overflow policy or system restrictions.

See Also

Clone this wiki locally