SYNC_RESOLVE_ACTION Enumeration

Represents actions that are taken to resolve a specific conflict.

typedef enum
{
  SRA_DEFER,
  SRA_ACCEPT_DESTINATION_PROVIDER,
  SRA_ACCEPT_SOURCE_PROVIDER,
  SRA_MERGE,
  SRA_TRANSFER_AND_DEFER,
  SRA_LAST,
} SYNC_RESOLVE_ACTION;

Members

  • SRA_DEFER
    The conflict is neither resolved nor logged. It is ignored.
  • SRA_ACCEPT_DESTINATION_PROVIDER
    The destination item is chosen as the resolution winner. No change is made to the destination item.
  • SRA_ACCEPT_SOURCE_PROVIDER
    The source change is chosen as the resolution winner. The source change is applied to the destination. This change overwrites the destination item. 
  • SRA_MERGE
    The source change is merged with the destination item.
  • SRA_TRANSFER_AND_DEFER
    The conflict should be logged for later resolution.
  • SRA_LAST
    A placeholder for the last element in the enumeration. Do not use this value.

Requirements

Header: Synchronization.h

See Also

Reference

IChangeConflict::GetResolveActionForChange
IChangeConflict::SetResolveActionForChange

Concepts

Sync Framework Core Components