| Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
The RegEvent.vbs script is a useful tool to register, enumerate and delete event sink registrations. The code in the VB script may also prove useful for you in developing your own registration scripts.
The following defines the RegEvent.vbs script parameters for the:
cscript RegEvent.vbs Add
EventName
SinkClass
Scope
[-p Priority]
[-m MatchScope]
[-f CriteriaFilter]
[-s ScriptFilePath]
OnSave, OnDelete, OnSyncSave, OnSyncDelete, OnMdbStartup, OnMdbShutDown, or OnTimer
Case in the names is ignored. Multiple events can be specified in the same registration by placing semi-colons (;) between the names of each event. For example, "OnSave;OnDelete."
The Exchange store must be running to add store event registrations.
See information on the criteria property of the Registration Item for details on the CriteriaFilter
See the programming tasks section of this topic for examples of registering scripted event sinks.