Click or drag to resize
EmailTemplateInfoProviderGetAllUnsubscriptionTemplates Method

Note: This API is now obsolete.

Returns dataset with all unsubscription templates.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IEmailTemplateInfoProvider.Get().WhereEquals("TemplateType", "U").WhereEquals("TemplateSiteID", siteId) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - EmailTemplateInfo.Provider.")]
public static InfoDataSet<EmailTemplateInfo> GetAllUnsubscriptionTemplates(
	int siteId
)

Parameters

siteId
Type: SystemInt32
Site ID

Return Value

Type: InfoDataSetEmailTemplateInfo
See Also