Main Content
testConnection
(To be removed) Test JDBC data source connection
The testConnection
function will be removed in a future release. Use
the testConnection
function of the SQLConnectionOptions
object instead. For details, see Version History.
Syntax
Description
tests the JDBC data source connection specified by the status
= testConnection(opts
,username
,password
)JDBCConnectionOptions
object opts
, a user name, and a
password.
Examples
Input Arguments
Output Arguments
Alternative Functionality
App
You can test a JDBC data source connection by using the JDBC Data Source Configuration dialog box in the Database Explorer app. In the Data Source section of the Database Explorer tab, select Configure Data Source > Configure JDBC data source.