N.Y. General Municipal Law § 430
This article shall apply to all counties outside the city of New York and to the several municipal corporations within such counties.