Export (0) Print
Expand All
Expand Minimize

SqlServerVersions Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

'Declaration
<FlagsAttribute> _
Public Enumeration SqlServerVersions
'Usage
Dim instance As SqlServerVersions

Member nameDescription
UnknownThe version of SQL Server is unknown.
Version100The version of SQL Server is SQL Server 2008.
Version105The version of SQL Server is SQL Server 2008 R2.
Version110The version of SQL Server is SQL Server 2012.
Version120The version is Version120.
Version70No longer used.
Version80No longer used.
Version90The version of SQL Server is SQL Server 2005.

The SqlServerVersions enumeration class is served by the EnumPropertyInfo method.

Community Additions

ADD
Show:
© 2014 Microsoft