If a partnership agreement provides the manner in which a dissolution may be revoked, it may be revoked in that manner and, unless a partnership agreement prohibits revocation of dissolution, then notwithstanding the occurrence of an event set forth in § 17-801(1), (2), (3), (4) or (5) of this title, the limited partnership shall not be dissolved and its affairs shall not be wound up if, prior to the filing of a certificate of cancellation in the office of the Secretary of State, the business of the limited partnership is continued, effective as of the occurrence of such event:
(1) In the case of dissolution effected by the vote or consent of the partners or other persons, pursuant to such vote or consent (and the approval of any partners or other persons whose approval is required under the partnership agreement to revoke a dissolution contemplated by this paragraph);
(2) In the case of dissolution under § 17-801(1) or (5) of this title (other than a dissolution effected by the vote or consent of the partners or other persons, an event of withdrawal of a general partner or the occurrence of an event that causes the last remaining limited partner to cease to be a limited partner), pursuant to such vote or consent that, pursuant to the terms of the partnership agreement, is required to amend the provision of the partnership agreement effecting such dissolution (and the approval of any partners or other persons whose approval is required under the partnership agreement to revoke a dissolution contemplated by this paragraph); and
(3) In the case of dissolution effected by an event of withdrawal of a general partner or the occurrence of an event that causes the last remaining limited partner to cease to be a limited partner, pursuant to the vote or consent of:
a. All remaining general partners; and
b. Limited partners who own more than ⅔ of the then-current percentage or other interest in the profits of the limited partnership owned by all of the limited partners, or if there is no remaining limited partner the personal representative of the last remaining limited partner of the limited partnership or the assignee of all of the limited partners' partnership interests in the limited partnership (and the approval of any partners or other persons whose approval is required under the partnership agreement to revoke a dissolution contemplated by this paragraph).
If dissolution is revoked pursuant to paragraph (3) of this section above and there is no remaining general partner of the limited partnership, 1 or more general partners shall be appointed, effective as of the date of withdrawal of the last remaining general partner, by the vote or consent of the limited partners of the limited partnership who own more than 2/3 of the then-current percentage or other interest in the profits of the limited partnership owned by all of the limited partners. If dissolution is revoked pursuant to paragraph (3) of this section above and there is no remaining limited partner of the limited partnership, a nominee or designee of such personal representative or such assignee, as applicable, shall be appointed as a limited partner, effective as of the occurrence of the event that caused the last remaining limited partner to cease to be a limited partner, by the vote or consent of the remaining general partners and such personal representative or such assignee, as applicable. If dissolution is revoked pursuant to paragraph (3) of this section above and there is no remaining general partner of the limited partnership and no remaining limited partner of the limited partnership, 1 or more general partners shall be appointed, effective as of the date of withdrawal of the last remaining general partner, and a nominee or designee of such personal representative or such assignee, as applicable, shall be appointed as a limited partner, effective as of the occurrence of the event that caused the last remaining limited partner to cease to be a limited partner, in each case, by the vote or consent of such personal representative or such assignee, as applicable. The provisions of this section shall not be construed to limit the accomplishment of a revocation of dissolution by other means permitted by law.