The SqlServerVersions enumeration contains values that are used to specify the version of the referenced instance of SQL Server.
此枚举具有可以使用其成员值位组合的 FlagsAttribute 属性。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<FlagsAttribute> _
Public Enumeration SqlServerVersions
用法
Dim instance As SqlServerVersions
[FlagsAttribute]
public enum SqlServerVersions
[FlagsAttribute]
public enum class SqlServerVersions
[<FlagsAttribute>]
type SqlServerVersions
public enum SqlServerVersions
成员
| 成员名称 | 说明 | |
|---|---|---|
| Unknown | The version of SQL Server is unknown. | |
| Version100 | The version of SQL Server is SQL Server 2008. | |
| Version105 | The version of SQL Server is SQL Server 2008 R2. | |
| Version110 | The version of SQL Server is SQL Server 2012. | |
| Version70 | No longer used. | |
| Version80 | No longer used. | |
| Version90 | The version of SQL Server is SQL Server 2005. |
注释
The SqlServerVersions enumeration class is served by the EnumPropertyInfo method.