getMajorVersion Method (SQLServerDriver)
Returns the major version number of the Microsoft SQL Server JDBC Driver.
Syntax
public int getMajorVersion()
Return Value
An int that contains the major version number of the JDBC driver.
Remarks
This getMajorVersion method is specified by the getMajorVersion method in the java.sql.Driver interface.