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
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for