Share via


CRowset::GetOriginalData

 

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 CRowset::GetOriginalData.

Calls IRowsetUpdate::GetOriginalData to retrieve the data most recently fetched from or transmitted to the data source.

Syntax

  
HRESULT GetOriginalData( ) throw( );  
  

Return Value

A standard HRESULT.

Remarks

This method retrieves the data most recently fetched from or transmitted to the data source; it does not retrieve values based on pending changes.

This method requires the optional interface IRowsetUpdate, which might not be supported on all providers; if this is the case, the method returns E_NOINTERFACE. You must also set DBPROP_IRowsetUpdate to VARIANT_TRUE before calling Open on the table or command containing the rowset.

Requirements

Header: atldbcli.h

See Also

CRowset Class
IRowsetUpdate::GetOriginalData