ChangeLogRetentionPeriod property
Collapse the table of content
Expand the table of content

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)

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.

© 2015 Microsoft