IRowsetView

OLE DB Programmer's Reference

IRowsetView enables the consumer to create or apply a view to an existing rowset.

When to Implement

Providers that can do simple post-processing of rowsets, such as applying filters or re-sorting rowsets, support IRowsetView.

When to Call

Consumers call IRowsetView to obtain a view object from a rowset on which to apply post-processing operations to an existing rowset. The consumer calls IRowsetView::CreateView to create a view object and calls methods on the view to apply post-processing operations to that view object. The consumer then calls IViewChapter::OpenViewChapter to retrieve a chapter handle that reflects the specified view conditions on the original rowset, or IViewRowset::OpenViewRowset to create a new rowset that reflects the specified view conditions. Any resources associated with the view opened as a chapter of an existing rowset can be cleaned up with a call to IChapteredRowset::ReleaseChapter.

Method Description
CreateView Creates a view object.
GetView Returns a view object reflecting the conditions applied to the specified chapter.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net