Change-log-expiration-enabled: Stsadm property (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

Description

Specifies whether change logs are deleted after the time span defined in the Change-log-retention-period1 property.

Syntax

stsadm -o setproperty

   -propertyname change-log-expiration-enabled

   -propertyvalue {True | False}

   [-url] <http://server_name>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname change-log-expiration-enabled

   [-url] <http://server_name>

Note Note:

You can substitute -pn for -propertyname and -pv for -propertyvalue.

Property values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

True: Change logs are deleted after the time span defined in the Change-log-retention-period1 property.

False: Change logs are not deleted after the time span defined in the Change-log-retention-period1 property.

url

Typically, a path to the URL of the Web application, in the form http://server_name.

Examples

To set the change logs not to delete after a certain time period, use the following syntax:

stsadm -o setproperty -pn change-log-expiration-enabled -pv False

Links Table
1http://technet.microsoft.com/en-us/library/cc261921.aspx
Community Content Add
Annotations FAQ