Click or drag to resize

IDatabaseDBMSVersionMajor Property

Gets the DBMS major version number or zero if no version can be determined. Use DBMSVersionMinor to get the minor version number.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
int DBMSVersionMajor { get; }

Property Value

Type: Int32
Remarks
For SQL-Server, versions are:
  • SQL-Server 2014 - Major: 12, Minor: 0.
  • SQL-Server 2012 - Major: 11, Minor: 0.
  • SQL-Server 2008 R2 - Major: 10, Minor: 50.
  • SQL-Server 2008 - Major: 10, Minor: 0.
  • SQL-Server 2005 - Major: 9, Minor: 0.
  • SQL-Server 2000 - Major: 8, Minor: 0.
See Also