EsbUnloadApplication

Stops an application on the server.

Syntax

EsbUnloadApplication (hCtx, AppName)
ByVal hCtx    As Long
ByVal AppName As String
ParameterDescription

hCtx

VB API context handle.

AppName

Name of an application to unload.

Notes

Return Value

None.

Access

This function requires the caller to have Application Load/Unload privilege (ESB_PRIV_APPLOAD) for the specified application.

Example

Declare Function EsbUnloadApplication Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String) As Long

Sub ESB_UnloadApplication ()
   Dim sts As Long
   Dim AppName As String    AppName = "Sample"   '*****************
   ' Unload Application
   '*****************
   sts = EsbUnloadApplication (hCtx, AppName)
End Sub

See Also