IRowsetUpdateImpl::Update
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at IRowsetUpdateImpl::Update.
Transmits any changes made to the row since the last fetch or update.
Syntax
STDMETHOD ( Update )(
HCHAPTER /* hReserved */,
DBCOUNTITEM cRows,
const HROW rghRows[],
DBCOUNTITEM* pcRows,
HROW** prgRows,
DBROWSTATUS** prgRowStatus
);
Parameters
hReserved
[in] Corresponds to the hChapter
parameter in IRowsetUpdate::Update.
For other parameters, see IRowsetUpdate::Update in the OLE DB Programmer's Reference.
Remarks
Changes are transmitted by calling IRowsetChangeImpl::FlushData. The consumer must call CRowset::Update for the changes to take effect. Set prgRowstatus to an appropriate value as described in Row States in the OLE DB Programmer's Reference.
Requirements
Header: atldb.h