Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
This is a support interface that can be obtained within every OLE DB store event sink. It is used to retrieve event information and control the event transaction.
Property | Description |
---|---|
AbortChange | Aborts the transaction in which the event is currently executing. |
EventBinding | Returns the event registration Item in the store that triggered caused the event. |
EventConnection | The ADO Connection object under which the event is executing. |
EventRecord | The ADO Record object bound to the item that triggered the event. |
The IExStoreDispEventInfo interface is the OLE Automation compatible version of the IExStoreEventInfo interface. Languages such as Visual Basic to access the ADO equivalents of the OLE DB object references using through the various IExStoreDispEventInfo methods.
The IExStoreDispEventInfo interface is exposed on the same object as the passed IExStoreEventInfo object reference. It can be obtained by calling QueryInterface on the IExStoreEventInfo object reference passed to the sink.
Private Sub IExStoreAsyncEvents_OnSave( _ ByVal pEventInfo as ExevtsnkLib.IExStoreEventInfo, _ ByVal bstrURLSource as String, _ ByVal lFlags as Long _ ) ' Get OA compatible interface Dim iDispEvtInfo as IExStoreDispEventInfo 'In Visual Basic this next line does the QueryInterface Set iDispEvtInfo = pEventInfo ' Get ADO record for save item Dim Rec as ADODB.Record Set Rec = iDispEvtInfo.EventRecord ' ... End Sub