共用方式為


CRowset::AddRefRows

Calls IRowset::AddRefRows to increment (by one) the reference count associated with the current row handle.

HRESULT AddRefRows( ) throw( );

Return Value

A standard HRESULT.

Remarks

This method increments the reference count for the current row handle. Call ReleaseRows to decrement the count. Rows returned by the move methods have a reference count of one.

Requirements

Header: atldbcli.h

See Also

Reference

CRowset Class

CRowset::ReleaseRows