2. The board of education or the trustees, as defined in section two of this chapter, of every school district within the state, however created, and every board of cooperative educational services and county vocational extension board, shall adopt and amend, as appropriate, a code of conduct for the maintenance of order on school property, including a school function, which shall govern the conduct of students, teachers and other school personnel as well as visitors and shall provide for the enforcement thereof. Such policy may be adopted by the school board or trustees only after at least one public hearing that provides for the participation of school personnel, parents, students and any other interested parties. Such code of conduct shall include, at a minimum:
c. provisions for the removal from the classroom and from school property, including a school function, of students and other persons who violate the code.