Are we not allowed to set the ConnectionTimeout in ADO.NET??

  • Thread starter Thread starter Prodip Saha
  • Start date Start date
P

Prodip Saha

I am trying to increase the ConnectionTimeout to 60 seconds. It was possible
in ADO but it's a read-only property in ADO.NET.

Is there a way to change the ConnectionTimeout?
Prodip
 
Set it in the ConnectionString.... "Data Source=xxxxxxxxxx;Integrated
Security=SSPI;Initial Catalog=xxxxxxxxx;Connect Timeout=60"
for instance
 
Back
Top