Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

ConnectionTimeout vs CommandTimeout

AddThis Social Bookmark Button
ConnectionTimeout a property of Connection class in ADO.NET, is the time you would wait, for connecting to a given database, before flagging a connection failure. Default value is 30 seconds. new SqlConnection().ConnectionTimeout = 10; CommandTimeout a property of the Command class in ADO.NET, is the time you would wait, for a command (query, stored procedure, [...]

Home : Blog List : Niraj Bhatt – Architect's Blog : ConnectionTimeout vs CommandTimeout