SPWebApplication.ChangeLogRetentionPeriod Property
Gets or sets the number of days to retain change logs.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Gets or sets the number of days to retain change logs.