Corbeille : propriétés Stsadm (Office SharePoint Server)
Mise à jour : 2007-11-08
By default, a particular site has a Recycle Bin that allows that users to recover items that they have deleted. These items include list items, lists, folders, and files. When you, as the site administrator, or site visitors delete any of these types of items from a Web site, the items are placed in the Recycle Bin and remain there until:
A user decides to permanently delete them from the Web site.
-or-
The items are permanently deleted after a set number of days, which is based on a schedule defined in the SharePoint Central Administration Web site.
You can either restore or delete an item from the Recycle Bin. When you delete an item from the Recycle Bin, the item is sent by default to the second stage Recycle Bin. The second stage Recycle Bin gives the administrator of a site collection greater control over deleted items by providing you with a second chance before an item is permanently deleted from a site.
Remarque : |
---|
A site collection is defined as a set of Web sites on a Web application that has the same owner and share administration settings. Each site collection contains a top-level Web site and can contain one or more subsites. |
The Recycle Bin is enabled in a site collection by default, and is configured from the SharePoint Central Administration Web site at the site collection Web application level. When enabled at this level, anyone who has been granted Full Control permission on Central Administration can perform the following tasks:
Specify how long items remain in the Recycle Bin before the items are emptied.
Disable the second stage Recycle Bin.
Disable the Recycle Bins in a site collection entirely.
The Recycle Bin properties are part of the setproperty and getproperty operations. The syntax for the setproperty operation is:
stsadm -o setproperty
-propertyname <property name>
-propertyvalue <property value>
[-url] <URL>
The syntax for the getproperty operation is:
stsadm -o getproperty
-propertyname <property name>
[-url] <URL>
Remarque : |
---|
You can substitute -pn for -propertyname and -pv for -propertyvalue. |
The following table describes the Recycle Bin properties.
Property name | Description |
---|---|
Automatically deletes Recycle Bin items after a specified number of days. |
|
Turns the Recycle Bin on or off. |
|
Specifies the retention period, in days, of deleted items in the Recycle Bin. |
|
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. |