Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Syntax
'Declaration
Public Property ChangeLogRetentionPeriod As TimeSpan
Get
Set
'Usage
Dim instance As SPWebApplication
Dim value As TimeSpan
value = instance.ChangeLogRetentionPeriod
instance.ChangeLogRetentionPeriod = value
public TimeSpan ChangeLogRetentionPeriod { get; set; }
Property Value
Type: System.TimeSpan
A TimeSpan structure that specifies the retention period. Only the Days property is significant.
Remarks
The default value of the ChangeLogRetentionPeriod property is 60 days.
See Also
Reference
Microsoft.SharePoint.Administration Namespace