|
The mi_get_dbnames() function retrieves the names of all databases available on the database server, corresponding to the logged-in connection
The mi_get_dbnames() function copies database names into dbnamesb (up to dbnamesbsize) and copies database-name pointers get into dbnameps (up to dbnamepssize). The user allocates dbnamesb and dbnamesps.
If the connection is not logged in, this function retrieves the names of databases available on $INFORMIXSERVER. If the connection is not provided (conn argument is NULL), this function retrieves the names of databases on all database servers.
| >=0 | is the number of retrieved database names. |
| MI_ERROR | indicates that the function was not successful. |