Share 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
Version100 Microsoft SQL Server 2008.
Version110 Microsoft SQL Server 2012
Version60 No longer used.
Version65 No longer used.
Version70 No longer used.
Version80 No longer used.
Version90 Microsoft SQL Server 2005.

Remarks

The CompatibilityLevel enumeration class is served by the CompatibilityLevel property.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace