SQL Server Version Constants (SQLDMO_SQL_VER)

SQL Server version constants identify version numbers for Microsoft® SQL Server™, directing behavior of the PingSQLServerVersion method of the SQLServer object.

Constant Value Description
SQLDMOSQLVer_60 2 Version 6.0
SQLDMOSQLVer_65 4 Version 6.5
SQLDMOSQLVer_70 8 Version 7.0
SQLDMOSQLVer_Pre_60 1 SQL Server version released prior to version 6.0
SQLDMOSQLVer_Unknown 0 Bad or invalid value

See Also

PingSQLServerVersion Method

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.