Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.15 KB

File metadata and controls

38 lines (29 loc) · 1.15 KB
title getMajorVersion Method (SQLServerDriver)
description getMajorVersion Method (SQLServerDriver)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDriver.getMajorVersion
apitype Assembly

getMajorVersion Method (SQLServerDriver)

[!INCLUDEDriver_JDBC_Download]

Returns the major version number of the [!INCLUDEjdbcNoVersion].

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