Click or drag to resize
EmailTemplateInfoProviderGetAllSubscriptionTemplates Method

Note: This API is now obsolete.

Returns dataset with all subscription templates.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IEmailTemplateInfoProvider.Get().WhereEquals("TemplateType", "S").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> GetAllSubscriptionTemplates(
	int siteId
)

Parameters

siteId
Type: SystemInt32
Site ID

Return Value

Type: InfoDataSetEmailTemplateInfo
See Also