Dela via


CompatibilityLevel Enumeration

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Syntax

'Declaration
Public Enumeration CompatibilityLevel
'Usage
Dim instance As CompatibilityLevel
public enum CompatibilityLevel
public enum class CompatibilityLevel
type CompatibilityLevel
public enum CompatibilityLevel

Members

Member name Description
Version60 Microsoft SQL Server 6.0.
Version65 Microsoft SQL Server .5.
Version70 Microsoft SQL Server 7.0.
Version80 Microsoft SQL Server 2000.
Version90 Microsoft SQL Server 2005.
Version100 Microsoft SQL Server 2008.

Remarks

The CompatibilityLevel enumeration class is served by the CompatibilityLevel property.