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

public int getMajorVersion()

Return Value

An integer 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