What would happen if you use Disjunction on a golem?

What would happen if a character were to cast a Mage’s/Mordenkainen’s Disjunction on an iron golem?

Would it stop functioning because Disjunction has removed its magic? Or would its spell immunity stop Disjunction from affecting it?