IViewRowset

OLE DB Programmer's Reference

IViewRowset enables the consumer to create or apply view operations when opening a rowset.

When to Implement

Providers that can do simple operations, such as filtering and sorting when opening rowsets, support IViewRowset.

When to Call

Consumers call IViewRowset to open a rowset with simple operations such as filtering and sorting applied. The consumer requests IID_IViewRowset when calling a method that returns a rowset to create a view object, applies operations to that view, and then calls IViewRowset::OpenViewRowset to open the rowset with those operations applied.

Method Description
GetSpecification Returns the object that created the view.
OpenViewRowset Opens the requested rowset using the specified view.

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