In case any building, structure, landscaping, or land is or is proposed to be erected, constructed, reconstructed, altered, converted, maintained, or used in violation of this chapter, the Board of Supervisors or the Township zoning officer, may, in addition to other remedies, institute any appropriate action or proceeding to prevent, restrain, correct, or abate such a building, structure, landscaping, or land, or to prevent, in or about such premises, any action in violation of this chapter. Notice of such action shall be served upon all parties of interest at least 30 days prior to the time the action is begun. Except in an emergency situation, no such action may be maintained until such notice is given.