Job-gradual-site-deletion: Stsadm property (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
Lets a site collection be marked as deleted, which immediately prevents any further access to its content.
Added in the April Cumulative Update to perform gradual deletion of site collections. When an operation uses gradual deletion, a site collection is immediately marked as deleted, which prevents any further access to its content. The data in the deleted site collection is then deleted gradually over time by this timer job instead of all at once, which reduces its effect on Windows SharePoint Services 3.0 and SQL Server performance. Gradual deletion is available in the Deletesite: Stsadm operation (Office SharePoint Server)and Mergecontentdbs: Stsadm operation (Office SharePoint Server)operations.
Syntax
stsadm -o setproperty
-propertyname job-gradual-site-deletion
-propertyvalue <valid date and time interval>
**\[-url** *\<https://server\_name\>* **\]**
The syntax for the getproperty operation is:
stsadm -o getproperty
propertyname job-gradual-site-deletion
**\[-url** *\<https://server\_name\>* **\]**
Note
You can substitute -pn for -propertyname and -pv for -propertyvalue.
Property values
The following table shows possible values.
Value | Description |
---|---|
propertyname |
Gets or sets the name of the property. |
propertyvalue |
A valid Windows SharePoint Services Timer service (SPTimer) schedule in the form of any one of the following schedules:
|
url |
Typically, a path to the URL of the Web application, in the form http://server_name. |
Examples
To set the schedule of a site collection deletion for the Web application https://test, use the following syntax:
stsadm -o setproperty -pn job-gradual-site-deletion -pv "daily at 15:00:00" -url https://test
To view the current setting of the job-gradual-site-deletion property, use the following syntax:
stsadm -o getproperty -pn job-gradual-site-deletion