RegisterDeliveryChannel(Microsoft.SharePoint.Portal.PortalContext, Microsoft.SharePoint.Portal.Alerts.DeliveryChannel, String) Method
The RegisterDeliveryChannel method of the DeliveryChannelCollection class registers the specified delivery channel to the specified portal site.
Parameters
context Reference to a PortalContext object that represents the current portal site.
deliveryChannel Reference to a DeliveryChannel object that represents the alert delivery channel to register.
configuration Configuration information for the delivery channel specified in deliveryChannel ; otherwise, an empty string.
Remarks
Registering a new delivery channel has the following results:
- A registered delivery channel will show up in the New Alert/ Edit alert pages and will allow users to specify this channel as a delivery channel for their alert.
- The notification server will be able to deliver notifications to that channel.
The RegisterDeliveryChannel method performs database operations that have impact across a SharePoint Portal Server server farm. It also performs file system operation that are specific to particular server. Therefore, this method needs to be called from every machine in the server farm where this delivery channel is added.
The assembly that contains your delivery channel implementation must be strong named and registered in the GAC.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security