Platform SDK: Exchange 2000 Server

Event Sink Registration Modification

[This is preliminary documentation and subject to change.]

You can change event registrations by modifying the original event registration item. The changes are made to the event registration when you save the item back to the store.

Enumerating Event Registrations

Event sink registrations can be enumerated programmatically or using the regevent.vbs script. See Enumerating the Event Sink Bindings for a Folder for a programmatic example of enumerating event sink registrations.

Deleting a Sink

An event sink registration is removed by deleting the event registration item. When you delete the item, Exchange cleans up all references to the registration. Deleting a folder will remove all event registrations in both that folder and the folder's children.

Moving or Copying a Sink

If you move or copy a sink registration, it will automatically register in the new location. Event registration items can be moved or copied by any method available in the store.

Stopping or Starting a Sink

To stop an event sink from being notified without deleting the registration, set the event registration item's schema "http://schemas.microsoft.com/exchange/events/enabled" to false.

Setting the enabled property to true will start the event sink registration again.

The property value takes effect when the event registration item is saved back to the store.

See also The Registration_Item for related information.