Share via


AbortChange Method

AbortChange Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This method aborts the transaction in which synchronous events are currently executing.

Applies To

IExStoreDispEventInfo Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

[Visual Basic]Sub AbortChange
(
    lErrorCode As LONG
)

[C++]HRESULT AbortChange (     LONG lErrorCode );

Parameters

  • lErrorCode
    The error code you can return to the event source to indicate the reason for the abort. See Remarks.

Return Value

Returns S_OK if successful, or an error value otherwise.

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 events or system events.

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

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.