DB2®ConnectionStringBuilder.ConnectionReset Property

Gets or sets a value that determines if the connection will be placed in the connection pool upon being closed.

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

Syntax

[Visual Basic]
Public Property ConnectionReset As Boolean
[C#]
public bool ConnectionReset {get; set;}
[C++]
public: __property bool* get_ConnectionReset();
public: __property void set_ConnectionReset(bool*);
[JScript]
public function get ConnectionReset() : Boolean;
public function set ConnectionReset(Boolean);

Property value

true if connections obtained by the DB2Connection.Open method should not be returned to the connection pool; otherwise false.

The default value of this property is false, the connection will be returned to the connection pool.