Any sheriff shall be liable to be proceeded against in any court of record in this State for an open contempt or for a breach of official duty. For an open contempt he shall be liable to be attached forthwith. For a breach of official duty he may be required, by rule, to answer to the complaint of any suitor of the court and upon failing to answer or comply with the order of the court, made on the hearing of such rule, he shall be liable to be attached as for a contempt and committed to close custody until he shall have complied with the requisition of the court. In all cases, interrogatories may be propounded to him, which he shall answer on oath, either orally or in writing, as the court may order.
S.C. Code § 23-17-20