SPAlertCollection methods

The SPAlertCollection type exposes the following members.

Methods

  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.
Public method Delete(Guid) Deletes the alert with the specified GUID from the collection.
Public method Delete(Int32) Deletes the alert at the specified index in the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetUniqueUsers Returns a string array that lists all the users of a site, without listing them more than once, who receive alerts for list items.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)

Top

See also

Reference

SPAlertCollection class

Microsoft.SharePoint namespace