IsolationLevel Property (ADO)

   Example   Applies To   

Indicates the level of isolation for a Connection object.

Settings and Return Values

Sets or returns one of the following IsolationLevelEnum values.

Constant Description
adXactUnspecified Indicates that the provider is using a different IsolationLevel than specified, but that the level cannot be determined.
adXactChaos Default. Indicates that you cannot overwrite pending changes from more highly isolated transactions.
adXactBrowse Indicates that from one transaction you can view uncommitted changes in other transactions.
adXactReadUncommitted Same as adXactBrowse.
adXactCursorStability Default. Indicates that from one transaction you can view changes in other transactions only after they've been committed.
adXactReadCommitted Same as adXactCursorStability.
adXactRepeatableRead Indicates that from one transaction you cannot see changes made in other transactions, but that requerying can bring new recordsets.
adXactIsolated Indicates that transactions are conducted in isolation of other transactions.
adXactSerializable Same as adXactIsolated.

Remarks

Use the IsolationLevel property to set the isolation level of a Connection object. The IsolationLevel property is read/write. The setting does not take effect until the next time you call the BeginTrans method. If the level of isolation you request is unavailable, the provider may return the next greater level of isolation.

Remote Data Service Usage   When used on a client-side Connection object, the IsolationLevel property can be set only to adXactUnspecified.

Because users are working with disconnected Recordset objects on a client-side cache, there may be multiuser issues. For instance, when two different users try to update the same record, Remote Data Service simply allows the user who updates the record first to "win." The second user's update request will fail with an error.