Share via


getDriverMajorVersion Method (SQLServerDatabaseMetaData)

Retrieves the major version number of this JDBC driver.

Syntax

public int getDriverMajorVersion()

Return Value

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

Reference

SQLServerDatabaseMetaData Class

Concepts

SQLServerDatabaseMetaData Methods

SQLServerDatabaseMetaData Members