다음을 통해 공유


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.