Click or drag to resize
EmailTemplateNewsletterInfoProviderRemoveNewsletterFromTemplate Method

Note: This API is now obsolete.

Deletes relationship between specified template and specified newsletter.

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

Parameters

templateId
Type: SystemInt32
Email template ID
newsletterId
Type: SystemInt32
Newsletter ID
See Also