连接字符串中ConnectTimeout的默认值是多少?

Zal*_*lan 15 .net

如果我们不设置ConnectTimeout值,例如"Connect Timeout = 60",(在SqlCommand中都没有),它的dafault值是多少?我被告知这是15岁

谢谢

Jon*_*eet 12

来自SqlConnection.ConnectionTimeout文档:

等待连接打开的时间(以秒为单位).默认值为15秒.