Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents actions that are taken to resolve a specific concurrency conflict.
Syntax
typedef enum __MIDL___MIDL_itf_winsync_0000_0000_0005 {
SRA_DEFER = 0,
SRA_ACCEPT_DESTINATION_PROVIDER,
SRA_ACCEPT_SOURCE_PROVIDER,
SRA_MERGE,
SRA_TRANSFER_AND_DEFER,
SRA_LAST
} SYNC_RESOLVE_ACTION;
Constants
SRA_DEFERValue: 0 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_PROVIDERThe 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_PROVIDERThe change made on the source replica wins. The change is applied to the destination replica exactly like any non-conflicting change. |
SRA_MERGEMerge 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_DEFERLog the conflict and do not apply the change. |
SRA_LASTA 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
| Requirement | Value |
|---|---|
| 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