This documentation is archived and is not being maintained.
TransactionIsolationLevel Enumeration
.NET Framework 1.1
Specifies the value of the TransactionAttribute.
[Visual Basic] <Serializable> Public Enum TransactionIsolationLevel [C#] [Serializable] public enum TransactionIsolationLevel [C++] [Serializable] __value public enum TransactionIsolationLevel [JScript] public Serializable enum TransactionIsolationLevel
Members
| Member name | Description |
|---|---|
| Any | The isolation level for the component is obtained from the calling component's isolation level. If this is the root component, the isolation level used in Serializable. |
| ReadCommitted | Shared locks are held while the data is being read to avoid reading modified data, but the data can be changed before the end of the transaction, resulting in non repeatable reads or phantom data. |
| ReadUncommitted | Shared locks are issued and no exclusive locks are honored. |
| RepeatableRead | Locks are placed on all data that is used in a query, preventing other users from updating the data. Prevents non repeatable reads, but phantom rows are still possible. |
| Serializable | Prevents updating or inserting until the transaction is complete. |
Requirements
Namespace: System.EnterpriseServices
Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Enterpriseservices (in System.Enterpriseservices.dll)
See Also
Show: