CHANGE_APPLICATION_ACTION Enumeration

Represents the action a destination provider must take to apply a change.

typedef enum
{
  CAA_SAVE_CHANGE,
  CAA_SAVE_CHANGE_WITH_CHANGE_UNITS,
  CAA_SAVE_CONFLICT,
  CAA_SET_CONFLICT_WINNER_INFO,
  CAA_FINISHED
} CHANGE_APPLICATION_ACTION;

Members

Term

Definition

CAA_SAVE_CHANGE

Save the change to the destination replica. Call IChangeApplicationContext::GetSaveChangeAction to retrieve the save change action.

CAA_SAVE_CHANGE_WITH_CHANGE_UNITS

Save the change with change units to the destination replica. Call IChangeApplicationContext::GetSaveChangeWithChangeUnitsAction to retrieve the save change action.

CAA_SAVE_CONFLICT

Save the conflict to the conflict log of the destination replica.

CAA_SET_CONFLICT_WINNER_INFO

Set the conflict winner information on this change by calling IChangeApplicationContext::SetConflictWinnerInfo.

CAA_FINISHED

Change application has completed for this change. Take no action.

Remarks

This enumeration is part of the change application service of Sync Framework, which is used when a provider requires greater flexibility than that allowed by the standard change applier provided by Sync Framework.

The members of this enumeration are returned from the IChangeApplicationContext::GetChangeApplicationAction method to indicate how a destination provider must apply a change to the destination replica.

Requirements

Header: Synchronization.h

See Also

Concepts

Sync Framework Core Components