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)


Public Enumeration CompatibilityLevel
Dim instance As CompatibilityLevel
public enum CompatibilityLevel
public enum class CompatibilityLevel
type CompatibilityLevel
public enum CompatibilityLevel


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.


The CompatibilityLevel enumeration class is served by the CompatibilityLevel property.

See Also


Microsoft.SqlServer.Management.Smo Namespace