SendUnusedSiteCollectionNotifications property
Collapse the table of content
Expand the table of content

SPWebApplication.SendUnusedSiteCollectionNotifications property

Gets or sets a value that indicates whether a notification is sent to owners of unused sites.

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

public bool SendUnusedSiteCollectionNotifications { get; set; }

Property value

Type: System.Boolean
true if send notifications are sent to site owners; otherwise, false. The default value is false.

The amount of time that determines whether the site is unused or not is contained in the UnusedSiteNotificationPeriod property.

© 2015 Microsoft