Provider and Consumer Support for Row Objects

OLE DB Programmer's Reference

A provider that supports row objects indicates additional support by setting, in the DBPROP_OLEOBJECTS property, the flags described in the following table.

Flag Support
DBPROPVAL_OO_ROWOBJECT
  • Row objects support the mandatory IRow, IGetSession, IColumnsInfo, and IConvertType interfaces.
  • Rowset objects support the IGetRow interface.
  • Providers that support direct binding support binding to row objects with IBindResource::Bind and optionally ICreateRow::CreateRow.
DBPROPVAL_OO_SINGLETON
  • ICommand::Execute and IOpenRowset::OpenRowset can return row objects.
  • The provider can choose to support the return of row objects by methods in other interfaces that traditionally return rowsets, such as IColumnsRowset, IViewRowset, and IDBSchemaRowset.
DBPROPVAL_OO_SCOPED
  • Row objects support the IScopedOperations interface.

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