Share via


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.

참고 항목

참조

SQLServerDataSource Class

개념

getConnection Method (SQLServerDataSource)
SQLServerDataSource Methods
SQLServerDataSource Members