I set the CommandTimeout property of my SQLCommand to 3 but it's still taking at least 10 seconds for it to throw an exception.
cmd = New SqlCommand("query", con) cmd.CommandTimeout = 3 cmd.ExecuteNonQuery()
Aucun commentaire:
Enregistrer un commentaire