Any school board shall have power to erect, purchase, lease, rent, sell, equip, and move schoolhouses, dormitories, dwellings for teachers' homes, and other structures, fences, or other enclosure as the board shall deem necessary subject to the limitations as provided by law; provided, however, that no school board may erect or purchase dormitories for use by postsecondary or adult vocational education students attending postsecondary vocational schools.
SDCL 13-24-9