Change-log-expiration-enabled : propriété Stsadm (Office SharePoint Server)

Description

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

Syntax

stsadm -o setproperty

-propertyname change-log-expiration-enabled

-propertyvalue {True | False}

[-url] <https://server_name>

The syntax for the getproperty operation is:

stsadm -o getproperty

**   propertyname change-log-expiration-enabled**

[-url] <https://server_name>

NoteRemarque :

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-period property.

False: Change logs are not deleted after the time span defined in the Change-log-retention-period 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