共用方式為


AbortOnArithmeticErrors 屬性

Gets or sets the Boolean property value that specifies whether arithmetic divide by zero errors are terminated or not.

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

語法

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

value = instance.AbortOnArithmeticErrors

instance.AbortOnArithmeticErrors = value
[SfcPropertyAttribute]
public bool AbortOnArithmeticErrors { get; set; }
[SfcPropertyAttribute]
public:
property bool AbortOnArithmeticErrors {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member AbortOnArithmeticErrors : bool with get, set
function get AbortOnArithmeticErrors () : boolean
function set AbortOnArithmeticErrors (value : boolean)

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies the whether a query is terminated when an arithmetic divide by zero occurs.
If True, queries are terminated when an arithmetic divide by zero error occurs.
If False (default), queries are not terminated when an arithmetic divide by zero error occurs; instead, a warning message is displayed and a Null value is assigned to the result of the arithmetic operation.