How do I configure CommandTimeout
(not Connect Timeout
) from connection string in SQL Server?
I thought it'd be simple to find but apparently not. Below I added CommandTimeout=60
. It doesn't seem to break anything, but I have no idea if it's actually working or not (and I can't find doc on this)
Data Source=someplace.com;Initial Catalog=MyDB;CommandTimeout=60;User Id=someID;Password=secret;