No. The connector and the wire have separate ratings, and the circuit is limited by whichever is lower once each is derated for real conditions.
A connector's rating usually applies to a stated wire size, a temperature rise limit, and a stated number of loaded contacts. Loading many contacts at once, a higher ambient temperature, or a smaller wire than the one tested all reduce what the connector can carry. Wire has its own derating for insulation temperature rating, ambient temperature, and being bundled with other loaded wires.
Work out both limits for your conditions. Read the connector's derating curve at your ambient temperature and contact count, derate the wire for bundling and temperature, and size the circuit to the lower result with a margin. Then check the voltage drop over the whole run, which can be the limiting factor for long cables.



