| Platform SDK: Exchange 2000 Server |
[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, );
Return S_OK if the registration is allowed.
Return S_FALSE if the registration should be aborted.
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.