DataAdapter.ContinueUpdateOnError Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies whether to generate an exception when an error is encountered during a row update.
public:
property bool ContinueUpdateOnError { bool get(); void set(bool value); };
public bool ContinueUpdateOnError { get; set; }
[System.Data.DataSysDescription("DataAdapter_ContinueUpdateOnError")]
public bool ContinueUpdateOnError { get; set; }
member this.ContinueUpdateOnError : bool with get, set
[<System.Data.DataSysDescription("DataAdapter_ContinueUpdateOnError")>]
member this.ContinueUpdateOnError : bool with get, set
Public Property ContinueUpdateOnError As Boolean
Property Value
true
to continue the update without generating an exception; otherwise false
. The default is false
.
- Attributes
Remarks
If ContinueUpdateOnError
is set to true
, no exception is thrown when an error occurs during the update of a row. The update of the row is skipped and the error information is placed in the RowError property of the row in error. The DataAdapter continues to update subsequent rows.
If ContinueUpdateOnError
is set to false
, an exception is thrown when an error occurs during the update of a row.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για