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
Syntax
'Declaration
Public ReadOnly Property Alerts As SPAlertCollection
Get
'Usage
Dim instance As SPWeb
Dim value As SPAlertCollection
value = instance.Alerts
public SPAlertCollection Alerts { get; }
Property Value
Type: Microsoft.SharePoint.SPAlertCollection
An SPAlertCollection object that represents the alerts.