共用方式為


DBPROP_UPDATABILITY

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.

See Also

Reference

Properties (Alphabetical)