ยง 107. Application.  1.  This  article shall apply to all areas of the
  state except any city having a population of over two million.
2. In the event that any dog owned by a resident of any city having  a
  population  of  over  two  million or by a non-resident of this state is
  harbored within this state outside  of  any  such  city,  the  licensing
  municipality  in  which such animal is harbored may exempt such dog from
  the identification and licensing provisions of this article for a period
  of thirty days provided such dog is licensed pursuant to the  provisions
  of law of the area of residence.
3. This article shall not apply to any dog confined to the premises of
  any  public  or private hospital devoted solely to the treatment of sick
  animals, or confined for the purposes of research to the premises of any
  college or other educational or research institution.
4. This article shall not apply to any dog confined to the premises of
  any person, firm or corporation engaged in the business of  breeding  or
  raising  dogs  for  profit  and  licensed  as a class A dealer under the
  Federal Laboratory Animal Welfare Act.
5. Nothing contained in this article shall prevent a municipality from
  adopting its own program for the control of  dangerous  dogs;  provided,
  however, that no such program shall be less stringent than this article,
  and  no  such  program  shall  regulate  such  dogs  in a manner that is
  specific as to breed. Notwithstanding the provisions of subdivision  one
  of this section, this subdivision and sections one hundred twenty-three,
  one  hundred  twenty-three-a  and  one  hundred  twenty-three-b  of this
  article shall apply  to  all  municipalities  including  cities  of  two
  million or more.
6.  Nothing contained in this article shall be construed to prohibit a
  county from administering a dog licensing program for the municipalities
  within its jurisdiction.
Structure New York Laws
Article 7 - Licensing, Identification and Control of Dogs
109 - Licensing of Dogs Required; Rabies Vaccination Required.
111-A - Microchipping Standards.
112 - Change of Ownership; Lost or Stolen Dog.
115 - Funds Expended by Municipality for Services.
116 - Spaying and Neutering Facilities Authorized.
117 - Seizure of Dogs; Redemption Periods; Impoundment Fees; Adoption.
117-A - Animal Population Control Program.
122 - Local Laws or Ordinances.
123-A - Exemption From Civil Liability.