Gets or sets the wait time before terminating the attempt to execute a command
and generating an error.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public override int CommandTimeout { get; set; } |
Visual Basic (Declaration) |
---|
Public Overrides Property CommandTimeout As Integer |
Visual C++ |
---|
public:
virtual property int CommandTimeout {
int get () override;
void set (int value) override;
} |
Field Value
The time (in seconds) to wait for the command to execute. The default is 30
seconds.
Implements
IDbCommand..::.CommandTimeoutRemarks
See Also