DeployedDac.CompatibilityLevel プロパティ

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

名前空間:  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
DAC データベースの互換性レベルを示す String 値です。

説明

このプロパティは、一部のデータベース アクションで互換性が必要な SQL Server の以前のバージョンを示します。 このプロパティは、sp_dbcmptlevel システム ストアド プロシージャと同様に機能します。

関連項目

参照

DeployedDac クラス

Microsoft.SqlServer.Management.Utility 名前空間