This method sets the option for loading the collection. The async flag can be set if and only if the underlying database system supports the async operation.
HRESULT SetOption(
long iOption,
VARIANT sValue);
Parameters
iOption RODBC_ASYNCH and sValue TRUE sets the async mode of load.
iOption RODBC_ASYNCH and sValue FALSE clears the async mode of load.
iOption RODBC_RESET_OPTIONS resets the async mode of load.
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.