M
Mike
I have a vb.net application. Using ado.net, I create/open a connection,
create a transaction object, and go through a loop. In each interation of
the loop, I create a SqlClient.SqlCommand (using this transaction object)
and perform a cmd.ExecuteNonQuery using a SQL Update statement. After
everything is said and done, I have transaction object with about 12,000
updates in it. If I try a trans.Rollback, I get a SqlClient.SqlException
that is a timeout exception. How does a rollback timeout ? The
SqlClient.SqlTransaction object does not have a timeout property. Anyone
know where this comes from ?
Thanks,
Mike
create a transaction object, and go through a loop. In each interation of
the loop, I create a SqlClient.SqlCommand (using this transaction object)
and perform a cmd.ExecuteNonQuery using a SQL Update statement. After
everything is said and done, I have transaction object with about 12,000
updates in it. If I try a trans.Rollback, I get a SqlClient.SqlException
that is a timeout exception. How does a rollback timeout ? The
SqlClient.SqlTransaction object does not have a timeout property. Anyone
know where this comes from ?
Thanks,
Mike