Depends on the concentration of salt. What I use to treat is usually higher than brackish water environments. Depending on the plant I salt dip them and it causes the snails to drop off the plants.
I hate snails I thought I would try some snails since they hitched a ride on some plants that I'm raising outside. I put one in my breeding tank with some gourami fry. After 2 weeks I now have an infestation problem. Over 50 snails captured and still more being discovered everyday.