SqlServerVersions Enumeration
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

SqlServerVersions Enumeration

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

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

public enum SqlServerVersions
/** @attribute FlagsAttribute() */ 
public enum SqlServerVersions
public enum SqlServerVersions

Member nameDescription
UnknownThe version of Microsoft SQL Server is unknown.
Version70The version of Microsoft SQL Server is SQL Server 7.0.
Version80The version of Microsoft SQL Server is SQL Server 2000.
Version90The version of Microsoft SQL Server is SQL Server 2005.

The SqlServerVersions enumeration class is served by the EnumPropertyInfo method.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

© 2016 Microsoft