Share via


Registering for a System Event

Registering for a System Event

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.

The following example uses the RegEvent script to register for an OnMdbStartup system event. The command specifies the script host sink class (ExOleDB.ScriptEventSink.1), which then runs the script specified with the -url option.

Example

cscript RegEvent.vbs add onmdbstartup ExOleDB.ScriptEventSink.1
   http://mystore/public/myfolder/startupevent
   -url http://mystore/myeventscripts/script.vbs

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.