Solenoids designed for AC will pull-in on DC, but may over heat. You will have to determine the DC voltage that reliably pulls-in the solenoid, but then measure the temperature rise over a min or so. For a 220V solenoid, I would expect the DC pull-in voltage to be ~50V. If the solenoid gets really hot, you may have to implement a two-step DC drive circuit, where you use say a 30V pulse to initially pull-in, and then drop the voltage to say 20V to keep it on.