EssListSpoolFiles

Lists all trigger log files for a database.

 

Syntax

ESS_FUNC_M EssListSpoolFiles (hCtx, AppName, DbName, pCount, ppFileList);
ParameterData TypeDescription

hCtx

ESS_HCTX_T

API context handle.

AppName

ESS_STR_T

Application name.

DbName

ESS_STR_T

Database name.

pCount

ESS_PUSHORT_T

Address of variable to receive count of spool file names.

ppFileList

ESS_PPOBJINFO_T

Address of pointer to receive an allocated array of spool file name objects.

Notes

The memory allocated for EssListSpoolFiles() should be freed using EssFree().

Return Value

If successful, returns the count of spool files in the database in pCount, and an array of spool file names in ppFileList.

Access

This function requires the caller to have database designer privilege (ESS_PRIV_DBDESIGN) for the specified database.

See Also