Unless the board of trustees of the district consents to the assessment, all property owned and used by a school district is exempt from any assessment made pursuant to the provisions of this chapter.