Перечисление 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).