Get all email templates in the system

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetEmailTemplates( _ 
ByVal db As IDatabase, _ 
ByVal get_stock_if_not_available As Boolean
) As List(Of EmailTemplate)
This language is not supported or no code example is available.
public static List<EmailTemplate> GetEmailTemplates( 
IDatabase db
bool get_stock_if_not_available 
)
This language is not supported or no code example is available.
public:  
static List<EmailTemplate^>^ GetEmailTemplates( 
IDatabase^ db
bool get_stock_if_not_available 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

db
Type: IDatabase

the database to use

get_stock_if_not_available
Type: bool

Return Value

Type: List<EmailTemplate>

the list of templates

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1