What is the maximum height for a garage/shed/accessory building?

Accessory buildings may have only one story but may not exceed fifteen feet (15') at a gable roof ridge or ten (10') feet at the top of the wall.