DeleteTemplates

Deletes the specified templates.

Caution!

The user must be assigned to the Manage Templates role in order for this method to successfully execute.

Syntax

<HFMwManageJournals>.DeleteTemplates (varabstrLabels)

Argument

Description

varabstrLabels

An array containing the labels of the templates to be deleted.

Input argument.

Return Value

Returns an array of HRESULTS that indicate whether the templates were successfully deleted. The array has a one-to-one correspondence with the array passed to the varabstrLabels argument. A value of 0 means that the corresponding template was deleted, a non-zero error number indicates the template was not deleted.