Gtown said it right. You can credit any 1, part or all segments to any 1 or multiple programs. even outside of the alliance. If you flew UA, VS, BA, and AF you could link each segment to the desired program you'd like(providing they accept credit).
Also could you provide the actual route? are you flying BD to Beirut and VS back?