SPWebApplication.ChangeLogExpirationEnabled property
取得或設定值,指定是否在ChangeLogRetentionPeriod屬性中定義的時間範圍之後刪除變更記錄。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ChangeLogExpirationEnabled As Boolean
Get
Set
'用途
Dim instance As SPWebApplication
Dim value As Boolean
value = instance.ChangeLogExpirationEnabled
instance.ChangeLogExpirationEnabled = value
public bool ChangeLogExpirationEnabled { get; set; }
Property value
Type: System.Boolean
true如果時間範圍之後刪除變更記錄檔中所定義的ChangeLogRetentionPeriod屬性 ;否則,請false。預設值為true。
請參閱
參照
Microsoft.SharePoint.Administration namespace