IRowsetNotify.OnRowsetChange(IRowset, Int32, Int32, Int32) 方法

定义

通知使用者影响整个行集的任何更改。

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

参数

rowset
IRowset

指向行集的指针,因为使用者可能正在接收来自多个行集的通知,这可标识要调用哪个行集。

dbReason
Int32

更改的原因,由值 DBREASON指示。

eventPhase
Int32

此通知的阶段。

fCantDeny
Int32

当此标志设置为 true此标志时,使用者无法通过返回来 S_FALSE 否决事件,因为提供程序无法撤消该事件。

返回

表示 Integer 结果。

注解

注释

命名空间中的 Microsoft.VisualBasic.Compatibility.VB6 函数和对象由用于从 Visual Basic 6.0 升级到 Visual Basic 的工具使用。 在大多数情况下,这些函数和对象重复了可在 .NET Framework 中的其他命名空间中找到的功能。 仅当 Visual Basic 6.0 代码模型与 .NET Framework 实现明显不同时,它们才是必需的。

适用于