Partilhar via


DatabaseCompatibilityLevel Enumeration

Enumerates the versions of Microsoft SQL Server that are supported for database compatibility with Microsoft SQL Server 2005.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntax

'Declaration
Public Enumeration DatabaseCompatibilityLevel
public enum DatabaseCompatibilityLevel
public enum class DatabaseCompatibilityLevel
public enum DatabaseCompatibilityLevel
public enum DatabaseCompatibilityLevel

Members

Member name Description
Unknown The compatibility level is unsupported.
Version60 The database is compatible with SQL Server 6.0 behaviors.
Version65 The database is compatible with SQL Server 6.5 behaviors.
Version70 The database is compatible with SQL Server 7.0 behaviors.
Version80 The database is compatible with SQL Server 2000 behaviors.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Replication Namespace
ReplicationDatabase

Other Resources

sp_dbcmptlevel (Transact-SQL)