Share via


DeployedDac.CompatibilityLevel Property

Definition

Gets the compatibility level for the DAC database

public:
 property int CompatibilityLevel { int get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)]
public int CompatibilityLevel { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)>]
member this.CompatibilityLevel : int
Public ReadOnly Property CompatibilityLevel As Integer

Property Value

A String value that specifies the compatibility level of the DAC database.

Attributes

Remarks

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.

Applies to