SqlServerVersion Enumeration

 

The SqlServerVersion enumeration contains values that are used to specify the version of the referenced instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public enum class SqlServerVersion

Member nameDescription
Version100

SQL Server 2008.

Version105

SQL Server 2008 R2.

Version110

SQL Server 2012.

Version120

The version is Version120.

Version130

The version is Version130.

Version80

No longer used.

Version90

SQL Server 2005.

The SqlServerVersion enumeration class is served by the PingSqlServerVersion method and the GetSqlServerVersionName method.

Return to top
Show: