SqlServerVersion Enumeration
SQL Server 2012
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)
The SqlServerVersion enumeration class is served by the PingSqlServerVersion method and the GetSqlServerVersionName method.