A perpetual injunction can only be granted by the decree at the hearing and upon the ?

A perpetual injunction can only be granted by the decree at the hearing and upon the ?

A. Merits of the suit
B. Discretion of the Court
C. Demand of the party
D. Non of These