ArithmeticAbortEnabled 屬性
取得或設定 ARITHMETICABORT 屬性值。
命名空間: 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 ArithmeticAbortEnabled As Boolean
Get
Set
'用途
Dim instance As Database
Dim value As Boolean
value = instance.ArithmeticAbortEnabled
instance.ArithmeticAbortEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool ArithmeticAbortEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property bool ArithmeticAbortEnabled {
bool get () sealed;
void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract ArithmeticAbortEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override ArithmeticAbortEnabled : bool with get, set
final function get ArithmeticAbortEnabled () : boolean
final function set ArithmeticAbortEnabled (value : boolean)
屬性值
型別:System. . :: . .Boolean
Boolean 值,這個值會指定 ArithmeticAbortEnabled 資料庫選項是否作用中。如果為 True,發生算術錯誤時,就會停止並回復交易。如果為 False (預設值),發生算術錯誤時,則繼續交易。