共用方式為


SqlServerVersions Enumeration

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

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

語法

'宣告
<FlagsAttribute> _
Public Enumeration SqlServerVersions
[FlagsAttribute] 
public enum SqlServerVersions
[FlagsAttribute] 
public enum class SqlServerVersions
/** @attribute FlagsAttribute() */ 
public enum SqlServerVersions
FlagsAttribute 
public enum SqlServerVersions

Members

Member name Description
Unknown The version of Microsoft SQL Server is unknown.
Version70 The version of Microsoft SQL Server is SQL Server 7.0.
Version80 The version of Microsoft SQL Server is SQL Server 2000.
Version90 The 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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace