Partilhar via


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)
Available in Sandboxed Solutions: No

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