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 TypeFieldDescription
As String * ESB_APPNAMELENNameThe application name
As String * ESB_SVRNAMELENServerThe server name
As IntegerStatus

Application load status. The values are as follows:

  • ESB_STATUS_NOTLOADED

  • ESB_STATUS_LOADING

  • ESB_STATUS_LOADED

  • ESB_STATUS_UNLOADING

As IntegerAppTypeThe 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 IntegernConnectsThe number of users currently connected to the application
As IntegernDbsNumber of databases in this application
As LongElapsedAppTimeElapsed number of seconds since application loading
As IntegerStorageTypeThe storage type. The valid values are:
  • 0 - the default

  • 1 - multidimensional

  • 2 - DB2 relational

  • 3 - Oracle relational

  • 4 - aggregate storage (ASO)

  • 1000 - Undefined

As StringAppLocaleThe application locale description, of type ESB_LOCALESTRING_LENGTH.