The attorney general may maintain an action to restrain a foreign limited partnership from transacting business in this state in violation of this article.