Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.22 KB

File metadata and controls

42 lines (33 loc) · 1.22 KB
title getMajorVersion Method (SQLServerDriver) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDriver.getMajorVersion
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 027edab7-9b5c-4f5f-9469-fe00cf7798b6
author David-Engel
ms.author v-daenge

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