HOWTO: Use CBulkRowset (191878)
The information in this article applies to:
- Microsoft OLE DB, when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q191878 SUMMARY
The Visual C++ 6.0 OLE DB Consumer template classes contain a class called
CBulkRowset. The CBulkRowset class allows you to retrieve multiple OLE DB
HROWs in a single call to IRowset::GetNextRows. This optimizes traversing
through a row set because when a function such as MoveNext() is called, the
HROW has already been retrieved and a call to GetNextRows() is not
necessary.
By default, the CBulkRowset tries to retrieve 10 HROWs at a time. You can
change the number of HROWs that are retrieved by calling the
CBulkRowset::SetRows().
Modification Type: | Minor | Last Reviewed: | 3/2/2005 |
---|
Keywords: | kbConsumer kbhowto kbMDACNoSweep KB191878 kbAudDeveloper |
---|
|