How to connect X6-2200L limit switch?

see below picture, plug the two wires arbitrarily to A&B pins of switch .