The Visual Studio tooltip for SqlCommand.CommandTimeout doesn't say whether units are seconds or milliseconds.The tooltip says "Gets or sets the wait time before terminating the attempt to execute a command and generating an error."
MSDN has a bettter description: "The time in seconds to wait for the command to execute. The default is 30 seconds."
The Visual Studio tooltip for SqlCommand.CommandTimeout doesn't say whether units are seconds or milliseconds.The tooltip says "Gets or sets the wait time before terminating the attempt to execute a command and generating an error."
MSDN has a bettter description: "The time in seconds to wait for the command to execute. The default is 30 seconds."