Click or drag to resize
EmailTemplateProviderGetEmailTemplates Method (String, String, Int32, String)
Returns all e-mail templates for specific site or all global templates or all templates sorted by template display name ascending.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax
C#
public static InfoDataSet<EmailTemplateInfo> GetEmailTemplates(
	string where,
	string orderBy,
	int topN,
	string columns
)

Parameters

where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by
topN
Type: SystemInt32
Specifies number of returned records
columns
Type: SystemString
Data columns to return

Return Value

Type: InfoDataSetEmailTemplateInfo
See Also