Gets or sets the timeout value to wait for a command to complete. After the selected time an error is generated.
[Visual Basic] Public Property CommandTimeout As Integer _ Implements IDbCommand.CommandTimeout [C#] public int CommandTimeout { get; set; } [C++] public: __property int get_CommandTimeout(); public: __property void set_CommandTimeout(int ); [JScript] public function get CommandTimeout() : int public function set CommandTimeout(int);
Command timeout in seconds. Default is 30 seconds.
| Exception Type | Condition |
|---|---|
| ArgumentException | The CommandTimeout value specfied is less than zero. |
MimerCommand Class | Mimer.Data.Client Namespace