Click or drag to resize
SubscriberNewsletterInfoProviderDeleteSubscriberNewsletterInfo Method (Int32, Int32)

Note: This API is now obsolete.

Deletes SubscriberNewsletterInfo specified by subscriberID and newsletterID.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISubscriberNewsletterInfoProvider.Remove(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SubscriberNewsletterInfo.Provider.")]
public static void DeleteSubscriberNewsletterInfo(
	int subscriberId,
	int newsletterId
)

Parameters

subscriberId
Type: SystemInt32
SubscriberID
newsletterId
Type: SystemInt32
NewsletterID
Exceptions
ExceptionCondition
ArgumentExceptionNo subscriber was found for provided subscriberID and newsletterID
See Also