Shop vac water question

Sump pump ?
dont those need to be submerged to work?
otherwise, that might work, i could it mount it under the dock and run a hose down into the boat