Rediger

Del via


IRowsetNotify.OnRowsetChange(IRowset, Int32, Int32, Int32) Method

Definition

Notifies the consumer of any change affecting the entire rowset.

public:
 int OnRowsetChange(Microsoft::VisualBasic::Compatibility::VB6::IRowset ^ rowset, int dbReason, int eventPhase, int fCantDeny);
public int OnRowsetChange (Microsoft.VisualBasic.Compatibility.VB6.IRowset rowset, int dbReason, int eventPhase, int fCantDeny);
abstract member OnRowsetChange : Microsoft.VisualBasic.Compatibility.VB6.IRowset * int * int * int -> int
Public Function OnRowsetChange (rowset As IRowset, dbReason As Integer, eventPhase As Integer, fCantDeny As Integer) As Integer

Parameters

rowset
IRowset

A pointer to the rowset, because the consumer may be receiving notifications from multiple rowsets and this identifies which one is calling.

dbReason
Int32

The reason for the change, as indicated by the value of DBREASON.

eventPhase
Int32

The phase of this notification.

fCantDeny
Int32

When this flag is set to true, the consumer cannot veto the event by returning S_FALSE because the provider cannot undo the event.

Returns

An Integer representing the result.

Remarks

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to