Click or drag to resize
EmailTemplateProviderGetEmailTemplates Method (String, String, Int32, String)

Note: This API is now obsolete.

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: 9.0.0
Syntax
C#
[ObsoleteAttribute("This method is obsolete use GetEmailTemplates() instead.")]
public static InfoDataSet<EmailTemplateInfo> GetEmailTemplates(
	string where,
	string orderBy = null,
	int topN = -1,
	string columns = null
)

Parameters

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

Return Value

Type: InfoDataSetEmailTemplateInfo
See Also