Udostępnij przez


Database.ArithmeticAbortEnabled Property

Gets or sets the ARITHMETICABORT property value.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property ArithmeticAbortEnabled As Boolean
[SfcPropertyAttribute] 
public bool ArithmeticAbortEnabled { get; set; }
[SfcPropertyAttribute] 
public:
virtual property bool ArithmeticAbortEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_ArithmeticAbortEnabled ()

/** @property */
public final void set_ArithmeticAbortEnabled (boolean value)
public final function get ArithmeticAbortEnabled () : boolean

public final function set ArithmeticAbortEnabled (value : boolean)

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.