SPSite.UIVersionConfigurationEnabled Property

Gets or sets a Boolean value that specifies whether to enable the visual upgrade user interface (UI) for changing the UI version of the site collection.

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

public bool UIVersionConfigurationEnabled { get; set; }

Property Value

Type: System.Boolean
true to display the visual upgrade UI; otherwise, false.