EventStatusEnum

Specifies the current status of the execution of an event.

Constant Value Description
adStatusCancel 4 Requests cancellation of the operation that caused the event to occur.
adStatusCantDeny 3 Indicates that the operation cannot request cancellation of the pending operation.
adStatusErrorsOccurred 2 Indicates that the operation that caused the event failed due to an error or errors.
adStatusOK 1 Indicates that the operation that caused the event was successful.
adStatusUnwantedEvent 5 Prevents subsequent notifications before the event method has finished executing.

ADO/WFC Equivalent

Package: com.ms.wfc.data

Constant
AdoEnums.EventStatus.CANCEL
AdoEnums.EventStatus.CANTDENY
AdoEnums.EventStatus.ERRORSOCCURRED
AdoEnums.EventStatus.OK
AdoEnums.EventStatus.UNWANTEDEVENT

Applies To

BeginTransComplete, CommitTransComplete, and RollbackTransComplete Events (ADO) ConnectComplete and Disconnect Events (ADO) EndOfRecordset Event (ADO)
ExecuteComplete Event (ADO) FetchComplete Event (ADO) InfoMessage Event (ADO)
WillChangeField and FieldChangeComplete Events (ADO) WillChangeRecord and RecordChangeComplete Events (ADO) WillChangeRecordset and RecordsetChangeComplete Events (ADO)
WillConnect Event (ADO) WillExecute Event (ADO) WillMove and MoveComplete Events (ADO)