SE_database_list

Returns a list of databases or data sources for a DBMS instance

Usage syntax

LONG SE_database_list (SE_CONNECTION connection, LONG *num_databases, char ***databases);

Parameters
connection The current connection
num_databases The number of databases in the current instance
databases A pointer to the address of a list of databases
Description

SE_database_list returns a list of available databases or data sources in a DBMS instance. Not all database management systems support this functionality. For those databases, the function returns num_databases=0 and databases=(CHAR **)NULL.

Returns

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