Stores information about configured ODBC data sources into an array.
ASQLDataSources(cArrayName [, nDataSourceType])
Parameters
- cArrayName
On return the array contains the following information. Column Content Datatype 1 The data source name. C 2 The data source description. C
- nDataSourceType (optional)
default = ODBC_BOTH_DSN
One of the following values. DatasourceType Description ODBC_BOTH_DSN Lists both user and system data sources. ODBC_USER_DSN Lists only user data sources. ODBC_SYSTEM_DSN Lists only system data sources.
Return Value
The number of SQL data sources.
See Also
Reference
ASQLDrivers
ChangeSQLDataSource
CreateSQLDataSource
DeleteSQLDataSource
SQLCancelEx
SQLExecEx
SQLGetPropEx
SQLPrepareEx
SQLSetPropEx