getConnection Method ()
Tries to establish a connection with the data source that this SQLServerDataSource object represents.
Syntax
public java.sql.Connection getConnection()
Return Value
A SQLServerConnection object.
Exceptions
java.sql.SQLException
Remarks
This getConnection method is specified by the getConnection method in the javax.sql.DataSource interface.
See Also
getConnection Method (SQLServerDataSource)
SQLServerDataSource Members
SQLServerDataSource Class
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про