Retrieves information for one or more databases, which contains non user-configurable parameters for the databases.
Syntax
Declare Function EsbGetDatabaseInfoEx Lib "esbapin" ( ByVal hCtx As Long, ByVal AppName As String, ByVal DbName As String, pItems As Integer) As Long
Parameter | Description |
---|---|
hCtx | API context handle. |
AppName | Name of application for which to return database information. If NULL, returns information for all applications and databases. |
DbName | Name of database for which to return database information. If NULL, returns information for all databases. |
pItems | Number of information structures returned. |
Notes
The program must call EsbGetNextItem() with the ESB_DBREQINFO_T parameter.
This function can only get the information structure for server databases.
Return Value
If successful, this function returns a count of the number of accessible databases in pCount, and generates a list of the application and database names. The list is accessible through use of EsbGetNextItem().
Access
This function requires the caller to have at least read access (ESS_PRIV_READ) to the specified database.