IConstraintConflict::SetConstraintResolveActionForChangeUnit

Sets a conflict resolution action for the conflicting change unit change.


HRESULT SetConstraintResolveActionForChangeUnit(
  ISyncChangeUnit *pChangeUnit, 
  SYNC_CONSTRAINT_RESOLVE_ACTION constraintResolveAction);

pChangeUnit

[in] The change unit for which to set the conflict resolution action.

constraintResolveAction

[in] The conflict resolution action to set for pChangeUnit.

  • S_OK.

  • E_INVALIDARG when constraintResolveAction is not a member of SYNC_CONSTRAINT_RESOLVE_ACTION, or when the conflict reason is not CCR_OTHER, or when constraintResolveAction is set to a value other than SCRA_DEFER or SCRA_TRANSFER_AND_DEFER.

  • E_POINTER.

  • SYNC_E_INVALID_OPERATION when the conflict contains no change units, or when the change unit specified by pChangeUnit cannot be found.

Show: