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] | Specifies source and destination rowsets | 
| *pDestRowsetChange [in] | Specifies that rows can be inserted at the destination. The OLE DB provider must support DBPROP_UPDATABILITY: DPBROP_UP_INSERT | 
The consumer application must open the rowsets before the data pump can use them.