The SetRowsets method specifies the source and destination rowsets to be used by the data pump.
HRESULT SetRowsets (
IRowset *pSrcRowset,
IRowsetChange *pDestRowsetChange );
| Argument | Description |
|---|---|
| *pSrcRowset [in] | Pointer to the source rowset |
| *pDestRowsetChange [in] | Pointer to the destination rowset |
The consumer application must open the rowsets before the data pump can use them.
The OLE DB provider must support DBPROP_UPDATABILITY: DPBROP_UP_INSERT.