📜  执行超时超时 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:55.959000             🧑  作者: Mango

代码示例1
using (SqlCommand sqlCmd = new SqlCommand(sqlQueryString, sqlConnection))
   {
      sqlCmd.CommandTimeout = 0; // 0 = give it as much time as it needs to complete
      ...
    }