In this blog we will be seeing how to enable or disable Show Subsites and Show Pages for Global navigation using object model in SharePoint 2010