The veterinarian shall enforce throughout the county all of the provisions of this code which relate to the health and sanitary surroundings of livestock, poultry, and rabbits. He shall enforce within unincorporated territory all orders and ordinances of the board of supervisors which relate to such subjects.