Second-stage-recycle-bin-quota: Stsadm properties (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

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.

 

Topic Last Modified: 2015-03-09

Description

Specifies how much hard disk space is available to a second stage Recycle Bin as a percentage of the quota allotted to the Web application.

For example, if you have allotted 200 megabytes (MB) of hard disk space for the Web application, allotting 50 percent quota for the second stage Recycle Bin allots 100 MB for the second stage Recycle Bin and 300 MB for the Web application as a whole.

By default, a second stage Recycle Bin stores items that are deleted from a Recycle Bin. The administrator of the site collection manages this second stage Recycle Bin.

This property is equivalent to the Add __ percent of live site quota for second stage deleted items user interface setting that is located on the Web Application General Settings page of the SharePoint Central Administration Web site.

Syntax

The syntax for the setproperty operation is:

stsadm -o setproperty

-propertyname second-stage-recycle-bin-quota

-propertyvalue <Numeric value indicating a percentage>

[-url] <URL>

The syntax for the getproperty operation is:

stsadm -o getproperty

propertyname second-stage-recycle-bin-quota

[-url] <URL>

Note

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

Values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

The quota amount expressed as a percentage. The default value is 50 percent.

url

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

Examples

To increase the quota amount for the second stage Recycle Bin to 60 percent, use the following syntax:

stsadm -o setproperty -pn second-stage-recycle-bin-quota -pv 60 -url https://server_name

To view the current setting of the second-stage-recycle-bin property, use the following syntax:

stsadm -o getproperty -pn second-stage-recycle-bin-quota -url https://server_name

See Also

Concepts

Recycle-bin-cleanup-enabled