SubscriberNewsletterInfoProviderSetApprovalStatus Method |
Set status of subscriber approval.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax public static void SetApprovalStatus(
int subscriberID,
int newsletterID,
bool status
)
Parameters
- subscriberID
- Type: SystemInt32
Subscriber ID - newsletterID
- Type: SystemInt32
Newsletter ID - status
- Type: SystemBoolean
Status of subscriber
Exceptions Exception | Condition |
---|
ArgumentException | No subscriber was found for provided subscriberID and newsletterID |
See Also