Add method

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)

public SPAlert Add()

Return value

Type: Microsoft.SharePoint.SPAlert
An SPAlert object representing the new alert.
Show:
© 2016 Microsoft