Partilhar via


SqlServerVersion Enumeration

The SqlServerVersion 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)

Syntax

'Declaration
Public Enumeration SqlServerVersion
public enum SqlServerVersion
public enum class SqlServerVersion
public enum SqlServerVersion
public enum SqlServerVersion

Members

Member name Description
Version80 Microsoft SQL Server 2000.
Version90 Microsoft SQL Server 2005.

Remarks

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

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

Platforms

Development Platforms

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

Target Platforms

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

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace