score:2

Accepted answer

You can set the timeout in your connection string.

"Persist Security Info=False;Integrated Security=SSPI;database=northwind;server=mySQLServer;Connect Timeout=30";

The Connect Timeout is in seconds


Related Articles