Starts a database within an Application on the server.
Syntax
ESS_FUNC_M EssLoadDatabase (hCtx, AppName, DbName);
| Parameter | Data Type | Description |
|---|---|---|
hCtx | ESS_HCTX_T | API context handle. |
AppName | ESS_STR_T | Application name. |
DbName | ESS_STR_T | 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