# EsbGetDatabaseInfoEx

Description

EsbGetDatabaseInfoEx() 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

Parameters

hCtx | Essbase 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.

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().

Notes

- The program must call EsbGetNextItem() with the ESB_DBREQINFO_T parameter.
- This function can only get the information structure for server databases.

Access

This function requires the caller to have at least read access (ESS_PRIV_READ) to the specified database.

Example

See Also