INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_get_database_info()

The mi_get_database_info() function populates the user-provided database information structure with the database information from a specified connection.

Syntax

Usage

The database_info can then be passed to mi_login() to specify the database to access as well as the user_name and password to use.

In the database server, mi_get_database_info() retrieves the same information as mi_get_default_database_info().

Return Values

MI_OK

The function was successful.

MI_ERROR

The function was not successful.

Related Topics

For additional information, see the descriptions of the following functions: mi_get_connection_info(), mi_get_default_database_info(), and mi_get_parameter_info().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.