# EssLoadApplication

Description

EssLoadApplication() starts an application on the server.

Syntax

    ESS_FUNC_M EssLoadApplication (hCtx, AppName);

ESS_HCTX_T | hCtx
ESS_STR_T | AppName

Parameters

hCtx | Essbase API context handle.
AppName | Name of application to load.

Return Value

None.

Notes

- To load an application, the connected user must have load access to the application.

Access

This function requires the caller to have Application Load/Unload privilege (ESS_PRIV_APPLOAD) for the specified application.

Example

    ESS_FUNC_M
    ESS_LoadApp (ESS_HCTX_T  hCtx)
    {
       ESS_FUNC_M     sts = ESS_STS_NOERR;
       ESS_STR_T     AppName;
       AppName = "Sample";
       sts = EssLoadApplication (hCtx, AppName);
       return (sts);
    }

See Also

EssLoadDatabase()
EssUnloadApplication()