EsbLoadApplication

Starts an application on the server.

Syntax

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

hCtx

VB API context handle.

AppName

Name of an application to load.

Notes

To load an application, the connected user must have load access to the application.

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 EsbLoadApplication Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String) As Long

Sub ESB_LoadApplication ()
   Dim sts As Long
   Dim AppName As String    AppName = "Sample"   '*****************
   ' Load Application
   '*****************
   sts = EsbLoadApplication (hCtx, AppName)
End Sub

See Also