Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Events

Exchange Server 2003

You can include the Exchange OLE DB (ExOLEDB) provider type library (EXOLEDB.DLL) in any Microsoft® Visual Basic® project.

In implementing your Visual Basic event sinks in a Component Object Model (COM) class, you name event methods by prefixing the event names with the interface name. Use the following event method names:


IExStoreSyncEvents_OnSyncSave
IExStoreSyncEvents_OnSyncDelete
IExStoreAsyncEvents_OnSave
IExStoreAsyncEvents_OnDelete
IExStoreSystemEvents_OnMDBStartUp
IExStoreSystemEvents_OnMDBShutDown
IExStoreSystemEvents_OnTimer

When implementing event methods as scripts, you prefix all event methods with "ExStoreEvents_". For example, the OnSyncSave event in a script would be ExStoreEvents_OnSyncSave.

For examples of how to implement event sink methods in a script or event sink interfaces in a COM class, see the following topics:

Implementing Synchronous Event Sinks

Implementing Asynchronous Event Sinks

Implementing System Event Sinks

For examples of how to create and manage event registrations, see the following topics:

Managing Event Registrations

Managing Event Registrations with RegEvent.vbs

For procedures on building managed event sinks, see the following topic:

Building Managed Event Sink DLLs

Related Topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.