DatabaseCompatibilityLevel 列舉
Enumerates the SQL Server database compatibility levels.
命名空間: Microsoft.SqlServer.Management.SqlParser.Common
組件: Microsoft.SqlServer.Management.SqlParser (在 Microsoft.SqlServer.Management.SqlParser.dll 中)
語法
'宣告
Public Enumeration DatabaseCompatibilityLevel
'用途
Dim instance As DatabaseCompatibilityLevel
public enum DatabaseCompatibilityLevel
public enum class DatabaseCompatibilityLevel
type DatabaseCompatibilityLevel
public enum DatabaseCompatibilityLevel
成員
| 成員名稱 | 說明 | |
|---|---|---|
| Current | Compatible with the latest version of SQL Server. | |
| Version80 | A database compatibility level of 80, or SQL Server 2000. | |
| Version90 | A database compatibility level of 90, or SQL Server 2005. | |
| Version100 | A database compatibility level of 100, or SQL Server 2008. |
備註
A compatibility level sets certain database behaviors to be compatible with the specified version of SQL Server. For more information, see ALTER DATABASE 相容性層級 (Transact-SQL).