is there a way to prevent a NavMesh Agent from using off-mesh links?

Hi,
I’ve baked an walkable area1 with offmesh links to another walkable area2.
I have two types of units A and B both unit have the same target which is in area2.
Unit A can jump across the off-mesh
Unit B needs to stay at the edges of the area1
How can i do this?
Thanks.

un-check auto-traverse off mesh links on the nav mesh agent