共用方式為


DatabaseCompatibilityLevel 列舉

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Enumeration DatabaseCompatibilityLevel
'用途
Dim instance As DatabaseCompatibilityLevel
public enum DatabaseCompatibilityLevel
public enum class DatabaseCompatibilityLevel
type DatabaseCompatibilityLevel
public enum DatabaseCompatibilityLevel

成員

成員名稱 說明
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.

請參閱

參考

Microsoft.SqlServer.Replication 命名空間

ReplicationDatabase

其他資源

sp_dbcmptlevel (Transact-SQL)