CompatibilityLevel Enumeration

The CompatibilityLevel enumeration is a list of constant values that specify the behavior that corresponds to a version of Microsoft SQL Server.

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

語法

'宣告
Public Enumeration CompatibilityLevel
public enum CompatibilityLevel
public enum class CompatibilityLevel
public enum CompatibilityLevel
public enum CompatibilityLevel

Members

Member name Description
Version60 Behavior that corresponds to Microsoft SQL Server 6.0.
Version65 Behavior that corresponds to Microsoft SQL Server 6.5.
Version70 Behavior that corresponds to Microsoft SQL Server 7.0.
Version80 Behavior that corresponds to Microsoft SQL Server 2000.
Version90 Behavior that corresponds to Microsoft SQL Server 2005.

備註

The CompatibilityLevel enumeration class is served by the CompatibilityLevel property.

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