







Change-log-expiration-enabled: Stsadm property (Office SharePoint Server) | |
![]() ![]() |
Stsadm command-line tool (Office SharePoint Server) > Stsadm properties (Office SharePoint Server) > General: Stsadm properties (Office SharePoint Server) > |
This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.
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>
![]() |
---|
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