Connection Timeout

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
seiteljoerge
Posts: 3
Joined: Wed 24 May 2006 09:37

Connection Timeout

Post by 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!

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by 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;

seiteljoerge
Posts: 3
Joined: Wed 24 May 2006 09:37

Perfect!

Post by seiteljoerge » Wed 24 May 2006 11:08

Perfect! So fast - thanks a lot!!
Don't forget to add this info to documentation. ;-)

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 29 May 2006 09:01

This is described in the documentation.

Post Reply