Upon presentation of proper credentials, the Building Commissioner, or his or her duly authorized representative, may enter at reasonable times any building, structure or premises in the county to perform any duty imposed upon him or her by this code.