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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for