Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AutomaticallyDeleteUnusedSiteCollections property
Collapse the table of content
Expand the table of content

SPWebApplication.AutomaticallyDeleteUnusedSiteCollections property

Gets or sets a value specifying whether unused site collections can be automatically deleted.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool AutomaticallyDeleteUnusedSiteCollections { get; set; }

Property value

Type: System.Boolean
true if unused site collections can be automatically deleted; otherwise, false. The default value is false.
© 2015 Microsoft