Vacuum lines are molded to a connector which is attached to the solenoid assembly.
It is not necessary to replace the entire harness if the hoses leak or collapse. You can simply cut the hose and insert a plastic connector.