NumericRoundAbortEnabled プロパティ
NUMERIC_ROUNDABORT データベース オプションがアクティブであるかどうかを示す Boolean プロパティ値を取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute> _
Public Property NumericRoundAbortEnabled As Boolean
Get
Set
'使用
Dim instance As Database
Dim value As Boolean
value = instance.NumericRoundAbortEnabled
instance.NumericRoundAbortEnabled = value
[SfcPropertyAttribute]
public bool NumericRoundAbortEnabled { get; set; }
[SfcPropertyAttribute]
public:
virtual property bool NumericRoundAbortEnabled {
bool get () sealed;
void set (bool value) sealed;
}
[<SfcPropertyAttribute>]
abstract NumericRoundAbortEnabled : bool with get, set
[<SfcPropertyAttribute>]
override NumericRoundAbortEnabled : bool with get, set
final function get NumericRoundAbortEnabled () : boolean
final function set NumericRoundAbortEnabled (value : boolean)
プロパティ値
型: System. . :: . .Boolean
丸め処理によって式の精度が低下したときにエラーが生成されるかどうかを示す Boolean 値。True の場合、エラーが生成され、結果は返されません。False (既定値) の場合、警告が生成され、NULL が返されます。
実装
説明
このオプションは、Transact-SQL の ALTER DATABASE ステートメントを使用して変更することもできます。