Retrieves the major version number of this JDBC driver.

public int getDriverMajorVersion()

Return Value

An integer that indicates the JDBC driver major version.

Exceptions

SQLServerException

Remarks

This getDriverMajorVersion method is specified by the getDriverMajorVersion method in the java.sql.DatabaseMetaData interface.

See Also