EssDisplayTriggers

Description

EssDisplayTriggers() lists all triggers for a database.

Syntax

ESS_FUNC_M EssDisplayTriggers (hCtx, DbName, pszTrg, pCount, ppTriggerList);
ESS_HCTX_ThCtx
ESS_STR_TAppName
ESS_STR_TDbName
ESS_PUSHORT_TpCount
ESS_PPTRIGGERINFO_TppTriggerList

Parameters

hCtxEssbase API context handle.
AppNameApplication name.
DbNamedatabasename.
pCountAddress of variable to receive count of trigger names.
ppTriggerListAddress of pointer to receive an allocated array of trigger name strings.

Return Value

If successful, returns the count of trigger in the database in pCount, and an array of trigger names in ppTriggerList.

Notes

Access

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

Example



See Also

EssListSpoolFiles EssGetSpoolFiles EssDeleteAllSplFiles EssDeleteSplFile EssMdxTrig