IChangeConflict::SetResolveActionForChangeUnit
Sets a conflict resolution action for the conflicting change unit change.
HRESULT SetResolveActionForChangeUnit(
ISyncChangeUnit *pChangeUnit,
SYNC_RESOLVE_ACTION resolveAction);
Parameters
- pChangeUnit
[in] The change unit for which to set the conflict resolution action.
- resolveAction
[in] The conflict resolution action to set for pChangeUnit.
Return Value
S_OK
E_POINTER
SYNC_E_INTERNAL_ERROR when the conflict is an update-delete conflict, or when no conflict exists.
Remarks
Be aware that setting the conflict resolution action for a change unit on an update-delete conflict is not valid, because this type of conflict must be resolved at the item level.
By setting this action in an event handler for ISyncCallback::OnConflict, the event handler specifies how the change applier should handle the conflict.