Platform SDK: Exchange 2000 Server

The Registration Item (Schema)

[This is preliminary documentation and subject to change.]

You register to receive notification of specific events by:

  1. Creating a store item,
  2. Setting the item's content-class to "urn:content-class:storeeventreg",
  3. Setting properties on the item,
  4. Saving the item to the store.

The Exchange 2000 Server handles the rest.

The following schema defines the event properties for an event sink registration item:

"http://schemas.microsoft.com/exchange/events/ " namespace.

Property Required? Use
criteria Yes A Where clause restriction.
enabled No Boolean to enable the event to be fired.
eventmethod Yes Defines which event(s) will cause notification.
matchscope No Defines the traversal of the event (deep or shallow).
priority No The priority of the event.
replicateeventreg No Defines if the event is to be replicated in a replicated folder.
scope1 Yes The URL that specifies the point in the store tree for which this event item is registered.
scripturl3 Yes The name of the script if the event is a script being run by the Script Host Sink.
sinkclass Yes The CLSID or progID of the object containing the event handler.
sinklist Yes Event sink list of each event sink that has processed the event.
timerexpirytime2 No Time to end an OnTimer event.
timerinterval2 No Interval for OnTimer event.
timerstarttime2 No Start time for OnTimer event.

  1. This value is set and maintained by Exchange. The location is determined by where the registration item is saved.
  2. Required only for OnTimer
  3. Required only if using a script to handle the event.

For the criteria property the following rules apply: