Classes

Method OdbcManager():removeSystemDSN() Professional

Removes a system data source.

Syntax
:removeSystemDSN(<cDriver>, <cAttr>) --> lSuccess
Parameters
<cDriver>
The name of the driver. Installed drivers can be obtained by calling :getDrivers().
<cAttr>
Data source attributes, in form of named attribute/value pairs: DBQ=test. The name of the data source must be passed as DSN=<cName>.
Return

Returns .T. if the data source could be removed successfully. If .F. is returned, call :getLastError() to retrieve extended error information.

Description

This method removes a system DSN. After the data source is removed, no connection can be made using this data source name.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.