SPWebApplication.AlertsEnabled Property
Gets or sets a value that specifies whether alerts are allowed in the Web application.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Property Value
Type: System.Booleantrue if alerts are enabled; otherwise, false. The default value is true.