SqlServerVersion 列舉
The SqlServerVersion enumeration contains values that are used to specify the version of the referenced instance of SQL Server.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Enumeration SqlServerVersion
'用途
Dim instance As SqlServerVersion
public enum SqlServerVersion
public enum class SqlServerVersion
type SqlServerVersion
public enum SqlServerVersion
成員
成員名稱 | 說明 | |
---|---|---|
Version100 | SQL Server 2008. | |
Version105 | SQL Server 2008 R2. | |
Version110 | SQL Server 2012. | |
Version80 | No longer used. | |
Version90 | SQL Server 2005. |
備註
The SqlServerVersion enumeration class is served by the PingSqlServerVersion method and the GetSqlServerVersionName method.