EssDeleteApplication() deletes an existing application, either on the client or the server. If the application is running on the server, then it is first stopped.
ESS_FUNC_M EssDeleteApplication (hCtx, AppName);
| ESS_HCTX_T | hCtx |
| ESS_STR_T | AppName |
| hCtx | Essbase API context handle. |
| AppName | Name of application to delete. |
None.
For a server application, the caller must have Application Create/Delete/Edit privilege (ESS_PRIV_APPCREATE).
ESS_FUNC_M
ESS_DeleteApp (ESS_HCTX_T hCtx)
{
ESS_FUNC_M sts = ESS_STS_NOERR;
ESS_STR_T AppName;
AppName = "Sample";
sts = EssDeleteApplication (hCtx, AppName);
return(sts);
}
EssDeleteDatabase()