AlertsEnabled property
Collapse the table of content
Expand the table of content

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)

public bool AlertsEnabled { get; set; }

Property value

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