This function is used to obtain information about the database interface or the server to which you are connected.
The arguments are as follows:
The property requested, either DB_PROP_CLIENT_CHARSET, DB_PROP_SERVER_ADDRESS, or DB_PROP_DBLIB_VERSION.
This argument is filled with the property value as a null-terminated string.
The maximum length of the string value_buffer, including the terminating null character.
The following properties are supported:
This property value gets the client character set (for example, "windows-1252").
This property value gets the current connection's server network address as a printable string. The shared memory protocol
always returns the empty string for the address. The TCP/IP protocol returns non-empty string addresses.
This property value gets the database interface library's version (for example, "188.8.131.527").