Freigeben über


UserOptions.IgnoreArithmeticErrors-Eigenschaft

Gets or sets the Boolean property value that specifies whether error messages are generated or not when divide by zero errors occur.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Deploy,  _
    "false")> _
Public Property IgnoreArithmeticErrors As Boolean 
    Get 
    Set
'Usage
Dim instance As UserOptions 
Dim value As Boolean 

value = instance.IgnoreArithmeticErrors

instance.IgnoreArithmeticErrors = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy, 
    "false")]
public bool IgnoreArithmeticErrors { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Deploy, 
    L"false")]
public:
property bool IgnoreArithmeticErrors {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy, 
    "false")>]
member IgnoreArithmeticErrors : bool with get, set
function get IgnoreArithmeticErrors () : boolean 
function set IgnoreArithmeticErrors (value : boolean)

Eigenschaftswert

Typ: System.Boolean
A Boolean value that specifies the whether error messages are generated or not when arithmetic errors occur.If True, arithmetic errors do not cause a warning message to be generated.If False (default), arithmetic errors cause a warning message to be generated.

Beispiele

Konfigurieren von SQL Server in SMO

Siehe auch

Verweis

UserOptions Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Konfigurieren von SQL Server in SMO

NIB-Benutzeroptionen (Option)