CompatibilityLevel 属性

Gets the compatibility level for the DAC database

命名空间:  Microsoft.SqlServer.Management.Utility
程序集:  Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property CompatibilityLevel As Integer
    Get
用法
Dim instance As DeployedDac
Dim value As Integer

value = instance.CompatibilityLevel
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int CompatibilityLevel { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int CompatibilityLevel {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member CompatibilityLevel : int
function get CompatibilityLevel () : int

属性值

类型:System. . :: . .Int32
A String value that specifies the compatibility level of the DAC database.

注释

This property specifies an earlier version of SQL Server for which certain database actions are to be compatible. This property works like the sp_dbcmptlevel system stored procedure.