The state's attorney shall give opinions and advice without fee to the board of county commissioners and other civil officers of his county, if requested by the board or officers, upon all matters in which the county is interested or relating to the official duties of the board or officers. However, a part-time state's attorney may receive a fee in addition to the state's attorney's salary for legal services rendered pursuant to contract in behalf of the county or county officers in civil cases and administrative proceedings outside the county, pursuant to § 7-16-6 or to a board or commission acting pursuant to chapter 46A-10A.
SDCL 7-16-8