| title | getMajorVersion Method (SQLServerDriver) |
|---|---|
| description | getMajorVersion Method (SQLServerDriver) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerDriver.getMajorVersion |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Returns the major version number of the [!INCLUDEjdbcNoVersion].
public int getMajorVersion()
An int that contains the major version number of the JDBC driver.
This getMajorVersion method is specified by the getMajorVersion method in the java.sql.Driver interface.
SQLServerDriver Methods
SQLServerDriver Members
SQLServerDriver Class