EsbDeleteApplication

Description

EsbDeleteApplication() 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
EsbDeleteApplication (hCtx, AppName)
ByVal hCtx    As Long
ByVal AppName As String

Parameters

hCtxEssbase VB 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 (ESB_PRIV_APPCREATE).

Example

Declare Function EsbDeleteApplication Lib "ESBAPIW" (ByVal hCtx As Long, ByVal AppName As String) As Long

Sub ESB_DeleteApplication ()
   Dim sts As Long
   Dim AppName As String 

   AppName = "Sample"
   '*******************
   ' Delete Application
   '*******************
   sts = EsbDeleteApplication (hCtx, AppName) 
End Sub

See Also

EsbDeleteDatabase()
EsbDeleteObject()