次の方法で共有


NumericRoundAbortEnabled プロパティ

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

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

構文

'宣言
<DisplayNameKeyAttribute("Database_NumericRoundAbortEnabledName")> _
<DisplayDescriptionKeyAttribute("Database_NumericRoundAbortEnabledDesc")> _
Property NumericRoundAbortEnabled As Boolean
    Get
    Set
'使用
Dim instance As IDatabaseOptions
Dim value As Boolean

value = instance.NumericRoundAbortEnabled

instance.NumericRoundAbortEnabled = value
[DisplayNameKeyAttribute("Database_NumericRoundAbortEnabledName")]
[DisplayDescriptionKeyAttribute("Database_NumericRoundAbortEnabledDesc")]
bool NumericRoundAbortEnabled { get; set; }
[DisplayNameKeyAttribute(L"Database_NumericRoundAbortEnabledName")]
[DisplayDescriptionKeyAttribute(L"Database_NumericRoundAbortEnabledDesc")]
property bool NumericRoundAbortEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_NumericRoundAbortEnabledName")>]
[<DisplayDescriptionKeyAttribute("Database_NumericRoundAbortEnabledDesc")>]
abstract NumericRoundAbortEnabled : bool with get, set
function get NumericRoundAbortEnabled () : boolean
function set NumericRoundAbortEnabled (value : boolean)

プロパティ値

型: System. . :: . .Boolean
丸め処理によって式の精度が低下したときにエラーが生成されるかどうかを示す Boolean 値。
True の場合、エラーが生成され、結果は返されません。
False (既定値) の場合、警告が生成され、NULL が返されます。

説明

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