次の方法で共有


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)

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

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace

Other resources

Using the Change Log