Any county may have like remedies given to recover any property belonging to it, or damages for injury thereto; and action may be brought in behalf of the county by the county prosecuting attorney or by someone employed therefor by the board of supervisors.