(a) No employee of the county shall hold public office in any political subdivision in the county. Political subdivision shall mean the county, any municipality, the board of education, or any authority of commission set up under the laws of the state or by ordinance of the county. (b) Any employee who qualifies for public office in the county shall immediately resign. Failure to resign upon qualification shall result in dismissal.