DeliverySettingsAddRecipient(String, Boolean, IListRecipientViewOverride) Method

Adds the recipient.

Namespace: Dundas.BI.Notifications.Delivery
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public void AddRecipient(
	string email,
	bool isUnsubscribeAllowed,
	IList<RecipientViewOverride> viewOverrides
)

Parameters

email  String
The email.
isUnsubscribeAllowed  Boolean
If set to , the recipient is allowed to unsubscribe.
viewOverrides  IListRecipientViewOverride
A list of overrides to be applied for this recipient when generating exports.
Exceptions
ExceptionCondition
ArgumentExceptionemail is or Empty.
InvalidContentOverrideExceptionOccurs when the user tries to add a mail recipient with content overrides and the view ID provided is not one of the views being exported.
See Also