SPWebApplication.AlertsEnabled Property

Gets or sets a value that specifies whether alerts are allowed in the Web application.

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

Syntax

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

value = instance.AlertsEnabled

instance.AlertsEnabled = value
public bool AlertsEnabled { get; set; }

Property Value

Type: System.Boolean
true if alerts are enabled; otherwise, false. The default value is true.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace