Freigeben über


getConnection Method ()

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

public java.sql.Connection getConnection()

Rückgabewert

A SQLServerConnection object.

Ausnahmen

java.sql.SQLException

Hinweise

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

Siehe auch

Referenz

SQLServerDataSource Class

Konzepte

getConnection Method (SQLServerDataSource)
SQLServerDataSource Methods
SQLServerDataSource Members