次の方法で共有


DeployedDac.CompatibilityLevel プロパティ

定義

DAC データベースの互換性レベルを取得します。

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

プロパティ値

DAC データベースの互換性レベルを示す String 値です。

属性

注釈

このプロパティは、特定のデータベース アクションに互換性がある以前のバージョンのSQL Serverを指定します。 このプロパティは、 sp_dbcmptlevel システム ストアド プロシージャと同様に機能します。

適用対象