Platform SDK: Exchange 2000 Server

ICreateRegistration::Register

[This is preliminary documentation and subject to change.]

This method is automatically called by the event system when an event registration item is saved to the store.

[Visual Basic, VBScript]
Sub Register(
   pEventInfo As IExStoreEventInfo,
   )
[C++]
HRESULT Register(
   IExStoreEventInfo  * pEventInfo, 
   );
[IDL]
HRESULT Register(
   [in] IExStoreEventInfo * pEventInfo,
   );
pEventInfo
A pointer to an IExStoreEventInfo interface that can be used to obtain further event information, such as the registration item.

Return Value

Return S_OK if the registration is allowed.

Return S_FALSE if the registration should be aborted.

Remarks

Whenever an event is registered, the store registration system automatically queries your sink object for the ICreateRegistration interface. If the interface is available then the store calls this method.

This method provides you a programmatic means to evaluate event registration requests. In this method you can access the registration item, the user and the store in which the request is being made.