An accessory building is a building or portion thereof the use of which is appropriate, subordinate, and customarily incidental to that of the main building, or to the main use of the land. If a main building is demolished by the owner or building official pursuant to a board order, the accessory building shall likewise be demolished at the same time unless the board shall otherwise direct. (Prior code § 49.12.1208)