Starter passat 1998?

When a started malefactions on a 1998 VW Passat the solenoid will make a clicking noise but the engine will not turn-over. To replace the unit remove the two bolts mounting the part onto the transmission.