Registering Synchronous Events

Topic Last Modified: 2006-06-11

The EventSampleVB.exe file can be used to create an event registration item for synchronous events.

To register a synchronous event

  1. In the Folder URL box, enter a valid folder URL.
  2. In the Registration Name box, enter a name for the registration item.
  3. In the Method(s) box, enter OnSyncSave or OnSyncDelete or OnSyncSave;OnSyncDelete.
  4. In the Sink Class box, enter the name of the COM+ component that holds the synchronous event sink(s) to be registered.
  5. Click Create Synchronous Event Registration. To set one or all of the optional properties, see the following procedure.

To set the optional properties

  1. In the Criteria box, enter a valid Structured Query Language (SQL) WHERE clause. This field is optional.
  2. Enter a decimal number priority ranging from 0 (highest) to 2147483647 (lowest). This field is optional; 65535 is the default priority.
  3. In the Scope box, enter a scope of Deep, Shallow, or Any. This field is optional; the default is Deep.
  4. Click Create Synchronous Event Registration.

The following figure shows how the synchronous OnSyncSave event might be registered using the sample event sinks.

Aa579835.30982b37-b49d-4e2b-bc05-3501dbc283c2(en-us,EXCHG.80).gif