共用方式為


CRowset::GetRowStatus

Returns the status of all rows.

HRESULT GetRowStatus( 
   DBPENDINGSTATUS* pStatus  
) const throw( );

Parameters

  • pStatus
    [out] A pointer to a location where GetRowStatus returns the status value. See DBPENDINGSTATUS in the OLE DB Programmer's Reference.

Return Value

A standard HRESULT.

Remarks

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

Reference

CRowset Class

IRowsetUpdate::GetRowStatus

Other Resources

CRowset Members