S.D. Codified Laws § 15-40-9 (2026)
In ruling on a motion under § 15-40-3, the court shall dismiss with prejudice a cause of action, or part of a cause of action, if:
(3) Either:
A voluntary dismissal without prejudice of a responding party's cause of action, or part of a cause of action, that is the subject of a motion under § 15-40-3, does not affect a moving party's right to obtain a ruling on the motion and seek costs, attorney fees, and expenses under § 15-40-12.
A voluntary dismissal with prejudice of a responding party's cause of action, or part of a cause of action, that is the subject of a motion under § 15-40-3 establishes, for the purpose of § 15-40-12, that the moving party prevailed on the motion.
Source: SL 2026, ch 91 , § 9.