DatabaseOptions.ArithmeticAbortEnabled プロパティ

ARITHMETICABORT データベース オプションがアクティブであるかどうかを示す Boolean プロパティ値を取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ArithmeticAbortEnabled As Boolean 
    Get 
    Set
'使用
Dim instance As DatabaseOptions 
Dim value As Boolean 

value = instance.ArithmeticAbortEnabled

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

プロパティ値

型: System.Boolean
ARITHMETICABORT データベース オプションがアクティブであるかどうかを示す Boolean 値。 True の場合、算術エラーが発生するとトランザクションが停止してロールバックされます。False (既定値) の場合、算術エラーが発生してもトランザクションが続行されます。

説明

このプロパティは、算術エラーの発生時にトランザクションを終了してロールバックするか、トランザクションを続行するかを示します。

このオプションは、Transact-SQL の ALTER DATABASE ステートメントを使用して変更することもできます。

使用例

プロパティの設定

関連項目

参照

DatabaseOptions クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

データベース オプション