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);
Parameter | Data Type | Description |
---|---|---|
hCtx | ESS_HCTX_T | API context handle. |
AppName | ESS_STR_T | Name of application to delete. |
Notes
Deleting a client application removes the local application directory and contents. It also removes all objects stored with the application, including all databases.
Return Value
None.
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