共用方式為


TSqlModelOptions.TwoDigitYearCutoff 屬性

Specifies the TWO_DIGIT_YEAR_CUTOFF database option.

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

語法

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

value = instance.TwoDigitYearCutoff

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

屬性值

型別:System.Nullable<Int16>

請參閱

參考

TSqlModelOptions 類別

Microsoft.SqlServer.Dac.Model 命名空間