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)
Syntax
'Declaration
<ObsoleteAttribute("Deferred site upgrade handles upgrading sites.")> _
Public Sub VisualUpgradeWebs
'Usage
Dim instance As SPSite
instance.VisualUpgradeWebs()
[ObsoleteAttribute("Deferred site upgrade handles upgrading sites.")]
public void VisualUpgradeWebs()
Remarks
Note
This can be a long-running operation so it should be run within a SPLongOperation if it is being executed from the UI.