SPWebApplication.ChangeLogRetentionPeriod property
取得或設定要保留變更記錄的天數。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ChangeLogRetentionPeriod As TimeSpan
Get
Set
'用途
Dim instance As SPWebApplication
Dim value As TimeSpan
value = instance.ChangeLogRetentionPeriod
instance.ChangeLogRetentionPeriod = value
public TimeSpan ChangeLogRetentionPeriod { get; set; }
Property value
Type: System.TimeSpan
會指定保留期間TimeSpan結構。僅將Days屬性就很重要。
備註
ChangeLogRetentionPeriod屬性的預設值為 60 天。
請參閱
參照
Microsoft.SharePoint.Administration namespace