SPWeb.Alerts property
Gets the collection of alerts for the site or subsite.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.