Timeout setting to SqlServer

  • Thread starter Thread starter Zeng
  • Start date Start date
Z

Zeng

Hi,

Is there a way to increase the timeout period to Sql Server? Occasionally
my app has to run a long update and it gets timed out.

thanks!
-thinh
 
Hi,

SqlCommand has CommandTimeout property. This is what you need to change. It
affects timeout of the statement related to this command
 
Back
Top