Redigera

Dela via


getDriverMajorVersion Method (SQLServerDatabaseMetaData)

Download JDBC driver

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

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class