Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Recycle-bin-retention-period: Stsadm properties (Office SharePoint Server)

PerformancePoint Server 2007

Updated: November 8, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-11-08


Specifies the retention period, in days, of deleted items in the Recycle Bin. Once the retention period has expired, the items in the recycle bin are permanently deleted.

This property is equivalent to number of days located in the Delete items in the Recycle Bin user interface setting that is located on the Web Application General Settings page of the SharePoint Central Administration Web site.


The syntax for the setproperty operation is:

stsadm -o setproperty

   -propertyname recycle-bin-retention-period

   -propertyvalue <Numeric value indicating the number of days>

   [-url] <URL>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname recycle-bin-retention-period

   [-url] <URL>


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


The following table shows possible values.

Name Value


Gets or sets the name of the property.


The number of days that items will be deleted from the recycle bin. The default value is 30 days.

This value works in conjunction with the recycle-bin-retention-period property.


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


To delete items in the Recycle Bin after 45 days, use the following syntax:

stsadm -o setproperty -pn recycle-bin-retention-period -pv 45

To view the current setting of the recycle-bin-retention-period property, use the following syntax:

stsadm -o getproperty -pn recycle-bin-retention-period

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft