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)

Syntax

'Declaration
Public Property SendUnusedSiteCollectionNotifications As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.SendUnusedSiteCollectionNotifications

instance.SendUnusedSiteCollectionNotifications = value
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.

Remarks

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

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace