Retrieves information from multiple databases, including non user-configurable parameters for the Application.
Syntax
EsbGetApplicationInfoEx (hCtx, AppName, pItems) ByVal hCtx As Long ByVal AppName As String pItems As Integer
Parameter | Description |
---|---|
hCtx | VB API context handle (logged in). |
AppName | Application name. |
pItems | Address of variable to receive Items of returned databases. |
Notes
This function can only be called for applications on the server.
The caller of this function must call EsbGetNextItem with the ESB_APPINFOEX_TYPE parameter, which returns the structure ESB_APPINFOEX_T. ESB_APPINFOEX_T and ESB_APPINFO_T are the same, except that ESB_APPINFOEX_ does not include database information.
Return Value
If successful, this function returns an array of application information structures in ppAppInfo.
Access
This function requires the caller to have access to the specified application.
Example
Declare Function EsbGetApplicationInfoEx Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String, pItems As Integer) As Long Sub ESB_GetApplicationInfoEx() Dim sts As Long Dim AppName As String Dim Items As Integer Dim AppInfoEx As ESB_APPINFOEX_T AppName = "" '*********************** 'Get application info Ex '*********************** sts = EsbGetApplicationInfoEx(hCtx, AppName, Items) For n = 1 To Items '*********************************** ' Get next Application Info item ' from the list '***********************************' sts = EsbGetNextItem(hCtx,ESB_APPINFOEX_TYPE, AppInfoEx) Next End Sub
See Also