SYNC_RESOLVE_ACTION enumeration

Represents actions that are taken to resolve a specific concurrency conflict.

Syntax


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

Constants

SRA_DEFER

Ignore the conflict and do not apply the change. The change applier does not pass the conflict data to the destination provider.

SRA_ACCEPT_DESTINATION_PROVIDER

The change made on the destination replica wins. Only version information for the item is updated in the metadata on the destination replica. No item data changes are made.

SRA_ACCEPT_SOURCE_PROVIDER

The change made on the source replica wins. The change is applied to the destination replica exactly like any non-conflicting change.

SRA_MERGE

Merge the data from the source item into the destination item. The destination provider combines the source item data and the destination item data, and applies the result to the destination replica.

SRA_TRANSFER_AND_DEFER

Log the conflict and do not apply the change.

SRA_LAST

A placeholder for the last element in the enumeration. Do not use this value.

Remarks

The members of SYNC_RESOLVE_ACTION specify the action that the change applier uses to resolve a concurrency conflict. Concurrency conflicts occur when the same item or change unit is changed on two different replicas that are later synchronized.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Winsync.h

See also

IChangeConflict::GetResolveActionForChange
IChangeConflict::SetResolveActionForChange
Windows Sync Enumerations

 

 

Community Additions

ADD
Show:
© 2014 Microsoft