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

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