Platform SDK: Exchange 2000 Server

IExStoreEventInfo::Abort

[This is preliminary documentation and subject to change.]

Aborts the event transaction if the event is synchronous.

[Visual Basic,VBScript]
Sub Abort ( lErrorCode as Long )
[C++]
HRESULT Abort(LONG lErrorCode);
[IDL]
HRESULT Abort(LONG lErrorCode);
lErrorCode
The error code you can return to the event source to indicate the reason for the abort. See Remarks.

Return Value

This method returns S_OK if the call succeeds.

Remarks

This method aborts the transaction if the event is synchronous. It is not valid for asynchronous or system events.

When aborting the transaction for reasons other than programmatic failures, set the LErrorCode flag to E_ABORT.