SDAC

TMSConnectionOptions.CommandTimeout Property

Specifies the time (in seconds) to wait for a SQL command to complete before a timeout error occurs.

Class

TMSConnectionOptions

Syntax

property CommandTimeout: integer;

Remarks

CommandTimeout defines the time in seconds to wait for the command to execute. The default value is 0, which indicates that no time limit is applied. When set to 0, command execution waits indefinitely.

This property affects the execution time of all commands, queries, and dataset objects associated with TMSConnection, as well as the ExecSQL, ExecSQLEx, ExecProc, and ExecProcEx commands.

If a command is successfully executed before the specified timeout interval expires, the CommandTimeout setting has no effect. If the execution time of the command exceeds the specified value, a timeout error is raised.

See Also

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