NumericRoundAbortEnabled 属性
获取或设置一个布尔属性值,该值指定 NUMERIC_ROUNDABORT 数据库选项是否处于活动状态。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property NumericRoundAbortEnabled As Boolean
Get
Set
用法
Dim instance As Database
Dim value As Boolean
value = instance.NumericRoundAbortEnabled
instance.NumericRoundAbortEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool NumericRoundAbortEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property bool NumericRoundAbortEnabled {
bool get () sealed;
void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract NumericRoundAbortEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override NumericRoundAbortEnabled : bool with get, set
final function get NumericRoundAbortEnabled () : boolean
final function set NumericRoundAbortEnabled (value : boolean)
属性值
类型:System. . :: . .Boolean
一个 Boolean 值,该值指定是否由于在表达式中进行舍入导致丢失精度而出错。如果为 True,则生成错误,且不返回任何结果。如果为 False(默认值),则生成警告且返回 NULL。
实现
注释
This option can also be changed by using the Transact-SQL ALTER DATABASE statement.