getMajorVersion Method (SQLServerDriver)

Download JDBC driver

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

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.

See Also

SQLServerDriver Methods
SQLServerDriver Members
SQLServerDriver Class