getConnection Method ()
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 Methods
SQLServerDataSource Members