Name

Connection.IsolationLevel Property — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

                     connection.IsolationLevel = IsolationLevelEnum
                  

The IsolationLevel property is used to set the level of isolation used when utilizing transaction management.

Datatype

IsolationLevelEnum (Long)

Description

The IsolationLevel property is both read- and write-enabled. If the value of this property is changed, the effects will not take place until you call the BeginTrans method. If the level of isolation requested couldn’t be granted by the data provider, then the next level may be set automatically.

The IsolationLevel property can be set to one of the IsolationLevelEnum enumerations listed in Appendix E.

See Also

Connection.BeginTrans Method, IsolationLevelEnum Enumeration

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.