Deletes a ODBC data source.
DeleteSQLDataSource(cDataSource, cDriver, nDataSourceType)
Parameters
- cDataSource
The name of the datasource.
- cDriver
Driver name, a list of drivers can be retrieved with the ASQLDrivers function.
- nDataSourceType
One of the following values. DatasourceType Description ODBC_USER_DSN Deletes a user data sources. ODBC_SYSTEM_DSN Deletes a system data sources.
Return Value
.T. if the SQL data source was deleted, .F. otherwise.
See Also
Reference
ASQLDataSources
ASQLDrivers
ChangeSQLDataSource
CreateSQLDataSource
SQLCancelEx
SQLExecEx
SQLGetPropEx
SQLPrepareEx
SQLSetPropEx