SPWebApplication.ChangeLogRetentionPeriod Property

Gets or sets the number of days to retain change logs.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public TimeSpan ChangeLogRetentionPeriod { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan structure that specifies the retention period. Only the Days property is significant.

The default value of the ChangeLogRetentionPeriod property is 60 days.