EssDisplayTriggers
Description
EssDisplayTriggers() lists all triggers for a database.
Syntax
ESS_FUNC_M EssDisplayTriggers (hCtx, DbName, pszTrg, pCount, ppTriggerList);
| ESS_HCTX_T | hCtx |
| ESS_STR_T | AppName |
| ESS_STR_T | DbName |
| ESS_PUSHORT_T | pCount |
| ESS_PPTRIGGERINFO_T | ppTriggerList |
Parameters
| hCtx | Essbase API context handle. |
| AppName | Application name. |
| DbName | databasename. |
| pCount | Address of variable to receive count of trigger names.
|
| ppTriggerList | Address 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
- The memory allocated for ppTriggerList should be freed
using EssFree().
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