SPWebApplication.ChangeLogExpirationEnabled property

Gets or sets a value specifying whether change logs are deleted after the time span defined in the ChangeLogRetentionPeriod property.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ChangeLogExpirationEnabled As Boolean
    Get
    Set
'Usage
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 if change logs are deleted after the time span defined in the ChangeLogRetentionPeriod property; otherwise, false. The default value is true.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace

Other resources

Using the Change Log