Click to Rate and Give Feedback
TechNet
TechNet Library
Office
Technical reference
Stsadm properties
 Change-log-expiration-enabled: Stsa...
Change-log-expiration-enabled: Stsadm property (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] <http://server_name>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname change-log-expiration-enabled

   [-url] <http://server_name>

NoteNote:

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker