Specifies how a provider should execute a command.
Constant | Value | Description |
adAsyncExecute | 0x10 | Indicates that the command should execute asynchronously. |
adAsyncFetch | 0x20 | Indicates that the remaining rows after the initial quantity specified in the CacheSize property should be retrieved asynchronously. |
adAsyncFetchNonBlocking | 0x40 | Indicates that the main thread never blocks while retrieving. If the requested row has not been retrieved, the current row automatically moves to the end of the file.
If you open a Recordset from a Stream containing a persistently stored Recordset, adAsyncFetchNonBlocking will not have an effect; the operation will be synchronous and blocking. adAsynchFetchNonBlocking has no effect when the adCmdTableDirect option is used to open the Recordset. |
adExecuteNoRecords | 0x80 | Indicates that the command text is a command or stored procedure that does not return rows (for example, a command that only inserts data). If any rows are retrieved, they are discarded and not returned. Always combined with CommandTypeEnum values adCmdText or adCmdStoredProc.
adExecuteNoRecords can only be passed as an optional parameter to the Command or Connection Execute method. Using it as an argument to the Command object CommandType property will generate an error. |
adOptionUnspecified | -1 | Indicates that the command is unspecified. |
ADO/WFC Equivalent
Package: com.ms.wfc.data
Constant |
AdoEnums.ExecuteOption.ASYNCEXECUTE |
AdoEnums.ExecuteOption.ASYNCFETCH |
AdoEnums.ExecuteOption.ASYNCFETCHNONBLOCKING |
AdoEnums.ExecuteOption.NORECORDS |
AdoEnums.ExecuteOption.UNSPECIFIED |