SPAlertCollection.Add method
Adds an alert to the collection of alerts for the specified title, list, event type bitmask, time interval, and filter.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Add As SPAlert
'Usage
Dim instance As SPAlertCollection
Dim returnValue As SPAlert
returnValue = instance.Add()
public SPAlert Add()
Return value
Type: Microsoft.SharePoint.SPAlert
An SPAlert object representing the new alert.