EsbGetApplicationState() gets an Application's state structure, which contains user-configurable parameters for the Application.
EsbGetApplicationState (hCtx, AppName, pAppState)
ByVal hCtx As Long
ByVal AppName As String
pAppState As ESB_PAPPSTATE_T
| hCtx | Essbase VB API context handle. |
| AppName | Application name. |
| pAppState | Buffer to receive an application state structure. |
Declare Function EsbGetApplicationState Lib "ESBAPIW" (ByVal hCtx As Long, ByVal AppName As String, AppState As ESB_APPSTATE_T As Long Sub ESB_GetApplicationState () Dim sts As Long Dim AppName As String Dim AppState As ESB_APPSTATE_T AppName = "Sample" '******************************** ' Get Application State structure '******************************** sts = EsbGetApplicationState (hCtx, AppName, AppState) End SubEsbGetApplicationInfo()