Originally Posted by Jetstreamer
However is merely having a CO code on the flight enough to earn EQMs, even if I book it under the VS code?
Yes. If the codeshare exists, you will get EQMs, even if you're booked on the VS code.
It's an unpublished perk, so it may disappear someday.