Share via


IExStoreDispEventInfo Interface

IExStoreDispEventInfo Interface

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. 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.

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Member Summary

The following table lists the properties of the IExStoreDispEventInfo interface.

Name Description
Data The Data property handles in-memory data that is stored between the begin phase and the commit/abort phase of synchronous events.
EventConnection The Microsoft® ActiveX® Data Objects (ADO) Connection object for the current event. This property is read-only.
EventRecord The ADO Record object bound to the item that caused the event. This property is read-only.
SourceURL The original source URL during an OnSyncSave event that was caused by a move. This property is read-only.
StoreGuid This property returns the globally unique identifier (GUID) of the message database (MDB) store in which the event fired. This property is read-only.
UserGuid This property returns the GUID of the user that caused the event to fire. This property is read-only.
UserSid This property returns the security identifier (SID) of the user that caused the event to fire. This property is read-only.

The following table lists the methods of the IExStoreDispEventInfo interface.

Name Description
AbortChange This method aborts the transaction in which synchronous events are currently executing.

Remarks

The IExStoreDispEventInfo interface is the OLE Automation compatible version of the IExStoreEventInfo Interface. Languages such as Microsoft Visual Basic® can access the ADO equivalents of the OLE DB object references using 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.

Example

[Visual Basic]

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

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.