getMajorVersion Method (SQLServerDriver)

Returns the major version number of the Microsoft SQL Server JDBC Driver.


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.

Show: