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
ParameterDescription

hCtx

VB API context handle.

AppName

Name of application to delete.

Notes

Return Value

None.

Access

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

Example

Declare Function EsbDeleteApplication Lib "ESBAPIN" (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