TExecuteOptions values specify the characteristics of an execution operation.
Unit
ADOdb
Delphi syntax:
type
TExecuteOption = (eoAsyncExecute, eoAsyncFetch, eoAsyncFetchNonBlocking, eoExecuteNoRecords);
TExecuteOptions = set of TExecuteOption;
C++ syntax:
enum TExecuteOption { eoAsyncExecute, eoAsyncFetch, eoAsyncFetchNonBlocking, eoExecuteNoRecords };
typedef Set TExecuteOptions;
Description
When executing a command or connection using a method, use TExecuteOptions values to specify the characteristics of the execution operation. When reacting to a command or connection execution in an event handler, read the execute options parameter to determine the options already established for the connection triggering the event.
TExecuteOptions consists of the constants summarized in the following table:
Execute Option Meaning
eoAsyncExecute The command is executed asynchronously.
eoAsyncFetch The command fetches remaining rows after the initial quantity specified in the Cache property asynchronously.
eoAsyncFetchNonBlocking Execution is performed without blocking the thread.
eoExecuteNoRecords A command or stored procedure that does not return. If any rows are retrieved, they are discarded and not returned.