SPAlertCollection Members
Include Protected Members
Include Inherited Members
Represents a collection of SPAlert objects.
The SPAlertCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of alerts in the collection. (Overrides SPBaseCollection.Count.) | |
Item[Guid] | Gets the alert with the specified GUID from the collection. In C#, this property is an indexer for the SPAlertCollection class. | |
Item[Int32] | Gets the alert at the specified index in the collection. In C#, this property is an indexer for the SPAlertCollection class. | |
Site | Gets the parent site collection for the collection. This property is deprecated. | |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) | |
Web | Gets the parent Web site of the collection. This property is deprecated. |
Top
Methods
Name | Description | |
---|---|---|
Add() | Adds an alert to the collection of alerts for the specified title, list, event type bitmask, time interval, and filter. | |
Add(SPList, SPEventType, SPAlertFrequency) | Deprecated. Use Add(SPList, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) instead. | |
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. | |
Add(SPList, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) | Adds an alert for a list to the collection. | |
Add(SPListItem, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) | Adds an alert for a list item to the collection. | |
Delete(Guid) | Deletes the alert with the specified GUID from the collection. | |
Delete(Int32) | Deletes the alert at the specified index in the collection. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
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. | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | (Inherited from SPAutoSerializingObject.) | |
ToString | (Inherited from Object.) | |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |
Top