S.C. Code Ann. § 6-10-80
Any local enforcement agency or the Council may obtain injunctive relief from any court of competent jurisdiction to enjoin the offering for sale, delivery, use, occupancy, erection, alteration or installation of any building covered by this chapter, upon an affidavit from such agency specifying the manner in which the building does not conform to the requirements of this chapter or the South Carolina Building Energy Efficiency Standard.