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 結果。

備註

Note

命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

適用於