getConnection Method ()

 

DownloadDownload JDBC Driver

Tries to establish a connection with the data source that this SQLServerDataSource object represents.

  
public java.sql.Connection getConnection()  

A SQLServerConnection object.

java.sql.SQLException

This getConnection method is specified by the getConnection method in the javax.sql.DataSource interface.

getConnection Method (SQLServerDataSource)
SQLServerDataSource Members
SQLServerDataSource Class

Community Additions

ADD
Show: