DeliveryChannelCollection Class

The DeliveryChannelCollection class implements the collection of alert delivery channels. This class allows you to enumerate the delivery channels registered for a portal site. It also allows you to register and unregister delivery channels.

System.Object

Microsoft.SharePoint.Portal.Alerts.ExtensionCollection

  **Microsoft.SharePoint.Portal.Alerts.DeliveryChannelCollection**

Public Methods

The following table shows the methods of the DeliveryChannelCollection class and a brief description of each.

Name Description
GetEnumerator Gets an enumerator that can iterate this collection.
RegisterDeliveryChannel(Microsoft.SharePoint.Portal.PortalContext, Microsoft.SharePoint.Portal.Alerts.DeliveryChannel, String) Registers the specified delivery channel to the specified portal site.
UnregisterDeliveryChannel(Microsoft.SharePoint.Portal.PortalContext, Microsoft.SharePoint.Portal.Alerts.DeliveryChannel) Unregisters the specified delivery channel from the specified portal site.

Public Properties

The following table shows the properties of the DeliveryChannelCollection class, the data type of each property, and a brief description of each.

Name Data type Description
Item(String) Microsoft.SharePoint.Portal.Alerts.DeliveryChannel Gets the item in the collection that is indexed by the specified string.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

You can get this collection through the AlertManager.Configuration and the NotificationManager.Configuration properties.

You must be logged on as an administrator or a member of the SharePoint administrators group to call the RegisterDeliveryChannel and UnregisterDeliveryChannel methods.

Requirements

Namespace: Microsoft.SharePoint.Portal.Alerts

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security