DBPROP_DELAYSTORAGEOBJECTS

OLE DB Programmer's Reference

Property group: Rowset

Property set: DBPROPSET_ROWSET

Column? N

Type: VT_BOOL

Typical R/W: R/W

Description: Delay Storage Object Updates

In delayed update mode, if the value of this property is VARIANT_TRUE, storage objects are also used in delayed update mode. In particular:

Changes to the object are not transmitted to the data source object until IRowsetUpdate::Update is called.

  • IRowsetUpdate::Undo undoes any pending changes.
  • IRowsetUpdate::GetOriginalData retrieves the original value of the object—that is, the object's value when the row was last fetched or updated and excluding any changes made since then.

In delayed update mode, if the value of this property is VARIANT_FALSE, storage objects are used in immediate update mode. In particular:

  • Changes to the object are immediately transmitted to the data source object.
  • IRowsetUpdate::Update has no effect on the object.
  • IRowsetUpdate::Undo does not undo changes made to the object since the row was last fetched or updated.
  • IRowsetUpdate::GetOriginalData retrieves the current value of the object, including changes made since the row was last fetched or updated.

In immediate update mode, this property has no effect on storage objects.

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