getMajorVersion Method (SQLServerDriver)
Returns the major version number of the Microsoft JDBC Driver for SQL Server.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for