N.Y. County Law § 51
Actions or proceedings by or against a county shall be in the name of the county.