Whenever necessary to make an inspection to enforce any of the provisions of this
chapter, or whenever the health officer, code inspector, building inspector, law enforcement
officer or any other person authorized by the county administrator has reasonable
cause to believe that there exists in any building or upon any premises any condition
or chapter violation, the health officer, code inspector, building inspector, law
enforcement officer or any other person authorized by the county administrator may
enter such building or premises at all reasonable times to inspect the same or to
perform any duty imposed upon the health officer, code inspector, building inspector,
law enforcement officer or any other person authorized by the county administrator
or by this Code, provided that if such building or premises is occupied, he shall
first present proper credentials and request entry; and if such building or premises
is unoccupied, he shall first make a reasonable effort to locate the owner or other
persons having charge or control of the building or premises and request entry. If
such entry is refused, the building official or his authorized representative shall
have recourse to every remedy provided by law to secure entry.