MyDAC

TCustomMyDataSet.CommandTimeout Property

Used to specify the amount of time to attempt execution of a command.

Class

TCustomMyDataSet

Syntax

property CommandTimeout: integer default 0;

Remarks

Use the CommandTimeoutr property to specify the amount of time to attempt execution of a command.

Use CommandTimeout to specify the amount of time that expires before an attempt to execute a command is considered unsuccessful. Is measured in seconds.

If a command is successfully executed prior to the expiration of the seconds specified, CommandTimeout has no effect.

In the case of exceeding waiting time error CR_SERVER_LOST 'Lost connection to MySQL server during query' raises.

The default value is 0 (infinite).

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback