Platform SDK: Exchange 2000 Server

IExStoreDispEventInfo::AbortChange

[This is preliminary documentation and subject to change.]

This method aborts the transaction in which the synchronous event is currently executing.

[Visual Basic,VBScript]
Sub AbortChange ( lErrorCode as Long )
[C++]
HRESULT AbortChange(LONG lErrorCode);
[IDL]
HRESULT AbortChange(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 is only valid for synchronous events that run in the context of an OLE DB local transaction. 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.