Share via


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.

See also

Reference

SPAlertCollection class

SPAlertCollection members

Add overload

Microsoft.SharePoint namespace