Share via


UpdateBehavior Enumeration

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Used with the Database.UpdateDataSet method. Provides control over behavior when the Data Adapter's update command encounters an error.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
PublicEnumerationUpdateBehavior
publicenumUpdateBehavior
publicenum classUpdateBehavior
publicenum UpdateBehavior

Members

Member name Value Description
Standard 0 No interference with the DataAdapter's Update command. If Update encounters an error, the update stops. Additional rows in the Datatable are uneffected.
Continue 1 If the DataAdapter's Update command encounters an error, the update will continue. The Update command will try to update the remaining rows.
Transactional 2 If the DataAdapter encounters an error, all updated rows will be rolled back.

See Also

Microsoft.Practices.EnterpriseLibrary.Data Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.