SPUser.Alerts property
Gets the collection of alerts the user has created.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.