The actress played Pamela Barnes Ewing in the long-running soap opera.