The governing body of any locality or other political subdivision, agency or instrumentality of the Commonwealth or of any locality proposing to issue bonds may bring at any time a proceeding in any court of the county or city having general jurisdiction and in which the issuer is located to establish the validity of the bonds, the legality of all proceedings taken in connection with the authorization or issuance of the bonds, the validity of the tax or other means provided for the payment of the bonds, and the validity of all pledges of revenues and of all covenants and provisions which constitute a part of the contract between the issuer and the owners of the bonds. The proceeding shall be brought by filing a motion for judgment describing the bonds and the proceedings taken in connection with their issuance and alleging that the bonds when issued shall be valid and legal obligations of the issuer. In the motion for judgment the taxpayers, property owners and citizens of the jurisdiction where the issuer is located, including nonresidents owning property in or subject to taxation by it, and all other persons interested in or affected in any way by the issuance of the bonds shall be made parties defendant.
Va. Code § 15.2-2651