共用方式為


TSqlModelOptions.CompatibilityLevel 屬性

Specifies the COMPATIBILITY_LEVEL database option.

命名空間:  Microsoft.SqlServer.Dac.Model
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public Property CompatibilityLevel As Nullable(Of Integer)
    Get 
    Set
'用途
Dim instance As TSqlModelOptions 
Dim value As Nullable(Of Integer)

value = instance.CompatibilityLevel

instance.CompatibilityLevel = value
public Nullable<int> CompatibilityLevel { get; set; }
public:
property Nullable<int> CompatibilityLevel {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
member CompatibilityLevel : Nullable<int> with get, set
function get CompatibilityLevel () : Nullable<int>
function set CompatibilityLevel (value : Nullable<int>)

屬性值

型別:System.Nullable<Int32>

請參閱

參考

TSqlModelOptions 類別

Microsoft.SqlServer.Dac.Model 命名空間