Свойство Database.ArithmeticAbortEnabled
Gets or sets a value that specifies whether the ARITHMETICABORT database option is active.
Пространство имен: 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
A Boolean value that specifies whether the ArithmeticAbortEnabled database option is active. If True, a transaction is stopped and rolled back when an arithmetic error occurs. If False (default), a transaction continues when an arithmetic error occurs.
Реализует
IDatabaseOptions.ArithmeticAbortEnabled