Partilhar via


SPWebApplication.UnusedSiteNotificationPeriod Property

Gets or sets the amount of time that a site is unused before sending a notification.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property UnusedSiteNotificationPeriod As TimeSpan
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As TimeSpan

value = instance.UnusedSiteNotificationPeriod

instance.UnusedSiteNotificationPeriod = value
public TimeSpan UnusedSiteNotificationPeriod { get; set; }

Property Value

Type: System.TimeSpan
A System.TimeSpan object that specifies the number of days. The default value is 90 days.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace