The Court of Chancery shall have jurisdiction to enjoin any foreign limited partnership, or any agent thereof, from doing any business in the State of Delaware if such foreign limited partnership has failed to register under this subchapter or if such foreign limited partnership has secured a certificate of the Secretary of State under § 17-903 of this title on the basis of false or misleading representations. The Attorney General shall, upon the Attorney General's own motion or upon the relation of proper parties, proceed for this purpose by complaint in any county in which such foreign limited partnership is doing or has done business.