SPAlertCollection.Add method

Adds an alert to the collection of alerts for the user or Web site.

Overload list

  Name Description
Public method Add() Adds an alert to the collection of alerts for the specified title, list, event type bitmask, time interval, and filter.
Public method Add(SPList, SPEventType, SPAlertFrequency) Deprecated. Use Add(SPList, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) instead.
Public method Add(SPListItem, SPEventType, SPAlertFrequency) Adds an alert to the collection of alerts for a list item based on the specified event type and time interval. This method overload is deprecated. Use Add(SPListItem, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) instead.
Public method Add(SPList, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) Adds an alert for a list to the collection.
Public method Add(SPListItem, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) Adds an alert for a list item to the collection.

Top

See also

Reference

SPAlertCollection class

SPAlertCollection members

Microsoft.SharePoint namespace