DB2 Version 10.1 for Linux, UNIX, and Windows

DB2ConnectionStringBuilder.IsolationLevel Property

Gets or sets the value of the isolation level for the connection.

Namespace:
IBM®.Data.DB2®
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax

[Visual Basic]
Public Property IsolationLevel As int
[C#]
public int IsolationLevel {get; set;}
[C++]
public: __property int* get_IsolationLevel();
public: __property void set_IsolationLevel(int*);
[JScript]
public function get IsolationLevel() : int;
public function set IsolationLevel(int);

Property value

Sets the isolation level to:
  • ReadCommitted
  • ReadUnCommitted
  • RepeatableRead
  • Serializable
  • Chaos

Remarks

This property is only applicable if the default isolation level is used. If the application specifically sets the isolation level for a connection or statement handle, then this property will have no effect on that handle.

Version information

Last update
This topic was last updated for: IBM DB2 Version 9.7 Fix Pack 5
.NET Framework version
Supported in: 2.0, 3.0, 3.5, and 4.0
IBM Data Server Client
Supported in: IBM DB2 Database for Linux, UNIX, and Windows, Version 9.7 Fix Pack 5 and later