DeliverySettingsAddRecipient(String, Boolean) 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
)

Parameters

email  String
The email.
isUnsubscribeAllowed  Boolean
If set to , the recipient is allowed to unsubscribe.
Exceptions
ExceptionCondition
ArgumentExceptionemail is or Empty.
InvalidRecipientTypeExceptionIf ExportUsingRecipientAccount is set to then email address recipients cannot be used.
See Also