IRowsetNotify

IRowsetNotify is the callback interface that a consumer must support to connect to local notifications provided by a rowset. The notifications are intended to synchronize objects that are attached to the same rowset instance. The notifications do not reflect changes in underlying shared tables that occur through other programs or users.

The notifications use the standard OLE connection point scheme for events. A rowset supports IConnectionPointContainer and the consumer calls FindConnectionPoint for IID_RowsetNotify to obtain the correct IConnectionPoint interface. The consumer then advises that connection point to connect and supplies a pointer to the consumer’s IRowsetNotify interface.

Method Description
OnFieldChange Notifies the consumer on any change to the value of a column.
OnRowChange Notifies the consumer on the first change to a row, or any change that affects the entire row.
OnRowsetChange Notifies the consumer on any change affecting the entire rowset.

 

IRowsetNotify::OnFieldChange

Notifies the consumer on any change to the value of a column. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.

IRowsetNotify::OnRowChange

Notifies the consumer on the first change to a row, or any change that affects the entire row. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.

IRowsetNotify::OnRowsetChange

Notifies the consumer on any change affecting the entire rowset. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.