# ESB_APPINFO_T

This is an Application Info Structure used to get information about a specific application. Fields in this structure cannot be modified using the VB API. See also the ESB_APPSTATE_T structure, which contains additional application state parameters that can be modified. The fields are:

    Type ESB_APPINFO_T

       Name            As String * ESB_APPNAMELEN
       Server          As String * ESB_SVRNAMELEN
       status          As Integer
       AppType         As Integer
       nConnects       As Integer
       nDbs            As Integer
       ElapsedAppTime  As Long
       storageType     As Integer
       AppLocale       As String * ESB_LOCALESTRING_LENGTH

    End Type

VB Data Type | Field | Description
As String * ESB_APPNAMELEN | Name | The application name
As String * ESB_SVRNAMELEN | Server | The server name
As Integer | Status | Application load status. The values are as follows: ESB_STATUS_NOTLOADED ESB_STATUS_LOADING ESB_STATUS_LOADED ESB_STATUS_UNLOADING
As Integer | AppType | The type of application. Valid values are: ESB_APP_UNICODE - 0x0003 - The program is a Unicode client program. The function fails if the server is not in Unicode mode. This is the default value. ESB_APP_NONUNICODE - 0x0002 - The program is a non-Unicode mode client program.
As Integer | nConnects | The number of users currently connected to the application
As Integer | nDbs | Number of databases in this application
As Long | ElapsedAppTime | Elapsed number of seconds since application loading
As Integer | StorageType | The storage type. The valid values are: 0 - the default 1 - multidimensional 2 - DB2 relational 3 - Oracle relational 4 - aggregate storage (ASO) 1000 - Undefined
As String | AppLocale | The application locale description, of type ESB_LOCALESTRING_LENGTH.