SqlCommand.CommandTimeout really works?

  • Thread starter Thread starter Cristian Ionita
  • Start date Start date
C

Cristian Ionita

I use SqlCommand to run a query against a SQL Server database in ASP.NET
and I need to abort the query if it takes more than a specified time. I've
tried to
use CommandTimeout property but it doesn't seem to work. Digging in
System.Data.dll
with ILDASM it appears that the property isn't used anywhere.
Is this true or I'm missing something? If it's true, then there is any other
easy way
to acomplish this task?


Cristian IONITA
 
Back
Top