EssLoadDatabase

Description

EssLoadDatabase() starts a database within an Application on the server.

Syntax
ESS_FUNC_M EssLoadDatabase (hCtx, AppName, DbName);
ESS_HCTX_ThCtx
ESS_STR_TAppName
ESS_STR_TDbName

Parameters

hCtxEssbase API context handle.
AppNameApplication name.
DbNameName 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()