EsbLoadApplication

Description

EsbLoadApplication() starts an Application on the server.

Syntax

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

hCtxEssbase VB API context handle.
AppNameName of an application to load.

Return Value

None.

Notes

Access

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

Example

Declare Function EsbLoadApplication Lib "ESBAPIW" (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

EsbLoadDatabase()
EsbUnloadApplication()