Connection Timeout

Connection Timeout

Postby seiteljoerge » Wed 24 May 2006 09:40

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!
seiteljoerge
 
Posts: 3
Joined: Wed 24 May 2006 09:37

Postby Alexey » Wed 24 May 2006 09:49

In the ConnectionString property write something like this:
Code: Select all
User Id=scott;Password=tiger;Server=ora;Connection Timeout=44;
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Perfect!

Postby seiteljoerge » Wed 24 May 2006 11:08

Perfect! So fast - thanks a lot!!
Don't forget to add this info to documentation. ;-)
seiteljoerge
 
Posts: 3
Joined: Wed 24 May 2006 09:37

Postby Alexey » Mon 29 May 2006 09:01

This is described in the documentation.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle