In any and all actions to determine adverse claims to real or personal property, or involving the possession of real or personal property, or to foreclose mortgages or other liens upon real or personal property, or to partition the same, the State of South Dakota may be sued and made defendant in the courts of this state.
SDCL 21-32-8