DB2®ConnectionStringBuilder.IsolationLevel Property
Gets or sets the value of the isolation level for the connection.
- Namespace:
IBM.Data.DB2- Assembly:
IBM.Data.DB2(inIBM.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.