Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Delete-web-send-email: Stsadm property (Office SharePoint Server)

SharePoint 2007

Updated: November 1, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-11-01

Description

Deletes the site collection if use is not confirmed. This property is used in conjunction with the Dead-site-num-notifications property, which sets the number of notifications before the site is actually deleted.

This property is equivalent to the Automatically delete the site collection if use is not confirmed user interface setting that is located on the Site Use Confirmation and Deletion page of the SharePoint Central Administration Web site.

Syntax

stsadm -o setproperty

   -propertyname delete-web-send-email

   -propertyvalue {Yes | No}

   [-url] <http://server_name>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname delete-web-send-email

   [-url] <http://server_name>

NoteNote:

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

  • Yes: Enables the site collection to be automatically deleted.

No: Disables the site collection to be automatically deleted. This is the default setting.

url

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

Examples

To enable the site collection to be automatically deleted, use the following syntax:

stsadm -o setproperty -pn delete-web-send-email -pv yes

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.