SPUser.Alerts Property
Gets the collection of alerts the user has created.
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 SPUser
Dim value As SPAlertCollection
value = instance.Alerts
public SPAlertCollection Alerts { get; }
Property Value
Type: Microsoft.SharePoint.SPAlertCollection
An SPAlertCollection object that represents the alerts.