EssLoadDatabase
Description
EssLoadDatabase() starts a database within an Application
on the server.
Syntax
ESS_FUNC_M EssLoadDatabase (hCtx, AppName, DbName);
ESS_HCTX_T | hCtx |
ESS_STR_T | AppName |
ESS_STR_T | DbName |
Parameters
hCtx | Essbase API context handle. |
AppName | Application name. |
DbName | Name of database to load. |
Return Value
None.
Access
This function requires the caller to have databaseLoad/Unload
privilege (ESS_PRIV_APPLOAD).
Example
ESS_FUNC_M
ESS_LoadDb (ESS_HCTX_T hCtx)
{
ESS_FUNC_M sts;
ESS_STR_T AppName;
ESS_STR_T DbName;
AppName = "Sample";
DbName = "Basic";
sts = EssLoadDatabase(hCtx, AppName, DbName);
return (sts);
}
See Also
EssLoadApplication()
EssUnloadDatabase()