SPSite.VisualUpgradeWebs method

NOTE: This API is now obsolete.

Updates all Webs in this site to the new SharePoint UI.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Deferred site upgrade handles upgrading sites.")]
public void VisualUpgradeWebs()


This can be a long-running operation so it should be run within a SPLongOperation if it is being executed from the UI.