SE_connection_get_database |
Returns the name of the database that the user is connected to.
LONG SE_connection_get_database (SE_CONNECTION connection, CHAR *databases );
connection | The current connection |
databases | Returns the current database name |
SE_connection_get_database returns the name of the database to which the user is connected. For those database management systems that do not support this function, a NULL terminated string is return.
SE_SUCCESS
SE_FAILURE
SE_DB_IO_ERROR
SE_DBMS_DOES_NOT_SUPPORT
SE_INVALID_CONNECTION
SE_INVALID_POINTER
SE_NET_FAILURE
SE_OUT_OF_CLMEM
SE_OUT_OF_SVMEM
SE_SDE_NOT_STARTED