Share via


Events

Events

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.

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

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.