Condividi tramite


Proprietà CompatibilityLevel

Gets the compatibility level for the DAC database

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property CompatibilityLevel As Integer
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

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.