Alerts Property
Collapse the table of content
Expand the table of content

SPWeb.Alerts Property

Gets the collection of alerts for the site or subsite.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public SPAlertCollection Alerts { get; }

Property Value

Type: Microsoft.SharePoint.SPAlertCollection
An SPAlertCollection object that represents the alerts.
© 2016 Microsoft