Share via


SPWebApplication.UnusedSiteNotificationsBeforeDeletion property

Gets or sets the number of notifications that are sent before an unused site is deleted.

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

Syntax

'Declaration
Public Property UnusedSiteNotificationsBeforeDeletion As Integer
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Integer

value = instance.UnusedSiteNotificationsBeforeDeletion

instance.UnusedSiteNotificationsBeforeDeletion = value
public int UnusedSiteNotificationsBeforeDeletion { get; set; }

Property value

Type: System.Int32
A 32-bit integer specifying the number of notifications. The default value is four notifications.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace