A limited partner may bring a derivative action to enforce a right of a limited partnership to recover a judgment in its favor to the same extent that a stockholder may bring an action for a derivative suit under the corporation law of Maryland. Such an action may be brought if general partners with authority to do so have refused to bring the action or if an effort to cause those general partners to bring the action is not likely to succeed. The derivative action may not be maintained if it appears that the plaintiff does not fairly and adequately represent the interests of the limited partners in enforcing the right of the limited partnership.