共用方式為


ArithmeticAbortEnabled 屬性

Gets or sets the ARITHMETICABORT property value.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property ArithmeticAbortEnabled As Boolean
    Get
    Set
'用途
Dim instance As Database
Dim value As Boolean

value = instance.ArithmeticAbortEnabled

instance.ArithmeticAbortEnabled = value
[SfcPropertyAttribute]
public bool ArithmeticAbortEnabled { get; set; }
[SfcPropertyAttribute]
public:
virtual property bool ArithmeticAbortEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute>]
abstract ArithmeticAbortEnabled : bool with get, set
[<SfcPropertyAttribute>]
override ArithmeticAbortEnabled : bool with get, set
final function get ArithmeticAbortEnabled () : boolean
final function set ArithmeticAbortEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether the ArithmeticAbortEnabled database option is active. If True, a transaction is stopped and rolled back when an arithmetic error occurs. If False (default), a transaction continues when an arithmetic error occurs.

實作

IDatabaseOptions. . :: . .ArithmeticAbortEnabled