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