EssDeleteApplication

Description

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.

Syntax

ESS_FUNC_M EssDeleteApplication (hCtx, AppName);
ESS_HCTX_ThCtx
ESS_STR_TAppName

Parameters

hCtxEssbase API context handle.
AppNameName of application to delete.

Return Value

None.

Notes

Access

For a server application, the caller must have Application Create/Delete/Edit privilege (ESS_PRIV_APPCREATE).

Example

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);
}

See Also

EssDeleteDatabase()
EssDeleteObject()