Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query Timeout
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00854598
Message ID:
00854600
Views:
16
This message has been marked as the solution to the initial question of the thread.
Hi Rip,

You set the timeout in the ConnectionString. You can query the value using the SqlConnection.ConnectionTimeout property.
myConnection.ConnectionString = "Persist Security Info=False;Integrated Security=SSPI;database=northwind;server=mySQLServer;Connect Timeout=30"
>Is there an easy way to control the timeout value of the sql connection?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform