Skip to content

Latest commit

 

History

History
70 lines (62 loc) · 1.87 KB

File metadata and controls

70 lines (62 loc) · 1.87 KB
title IRowsetUpdateImpl::Update | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
ATL::IRowsetUpdateImpl::Update
IRowsetUpdateImpl::Update
IRowsetUpdateImpl.Update
ATL.IRowsetUpdateImpl.Update
dev_langs
C++
helpviewer_keywords
Update method
ms.assetid 9ec6884d-aa9c-4871-a803-c048f162403c
caps.latest.revision 8
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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

See Also

IRowsetUpdateImpl Class