It seems you are looking for command object time out property. The connection string attribute that you have used for is a connection string and not command object. That's the reason you "feel" a different behavior but that's the correct one. Connection timeout
waits for the server to respond saying whether it will allow a connection or not. While command timeout is to say how long to wait for a command to finish.
↧