Page 1 of 1

Connection Timeout

Posted: Wed 24 May 2006 09:40
by seiteljoerge
How can I set the ConnectionTimeout Property in OracleConnection Class.
I really need this. The default value of 15 seconds is too long.
The help says "Gets or sets the time" but I only can GET time...

Thanks!

Posted: Wed 24 May 2006 09:49
by Alexey
In the ConnectionString property write something like this:

Code: Select all

User Id=scott;Password=tiger;Server=ora;Connection Timeout=44;

Perfect!

Posted: Wed 24 May 2006 11:08
by seiteljoerge
Perfect! So fast - thanks a lot!!
Don't forget to add this info to documentation. ;-)

Posted: Mon 29 May 2006 09:01
by Alexey
This is described in the documentation.