SPSite.VisualUpgradeWebs Method

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Sub VisualUpgradeWebs
'Usage
Dim instance As SPSite

instance.VisualUpgradeWebs()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace