Export (0) Print
Expand All
Expand Minimize

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)

'Declaration
Public Enumeration SqlServerVersion
'Usage
Dim instance As SqlServerVersion

Member nameDescription
Version100SQL Server 2008.
Version105SQL Server 2008 R2.
Version110SQL Server 2012.
Version120The version is Version120.
Version80No longer used.
Version90SQL Server 2005.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft