DBPROP_UPDATABILITY

OLE DB Programmer's Reference

Property group: Rowset

Property set: DBPROPSET_ROWSET

Column? N

Type: VT_I4

Typical R/W: R/W

Description: Updatability

A bitmask specifying the supported methods on IRowsetChange. A combination of zero or more of the following:

  • DBPROPVAL_UP_CHANGE—IRowsetChange::SetData is supported.
  • DBPROPVAL_UP_DELETE—IRowsetChange::DeleteRows is supported.
  • DBPROPVAL_UP_INSERT—IRowsetChange::InsertRow is supported.

DBPROP_UPDATABILITY should be used in conjunction with DBPROP_IRowsetChange. If DBPROP_IRowsetChange is VARIANT_TRUE and DBPROP_UPDATABILITY is not set, it is provider-specific what methods are supported on IRowsetChange.

DBPROP_UPDATABILITY is considered successfully set if all of the bits specified are supported. It is not necessary for the provider to disable support for the bits that are not set, although providers may do so as an optimization.

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