OptOutTabularView Method
Collapse the table of content
Expand the table of content

SPView.OptOutTabularView Method

A static method to update the Web Parts table in the database by switching off the TabularView flag.

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

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)]
public static void OptOutTabularView(
	IEnumerable<SPTabularViewUpgradeInfo> viewsToUpgrade
)

Parameters

viewsToUpgrade
Type: System.Collections.Generic.IEnumerable<SPTabularViewUpgradeInfo>

An enumerable set of objects that represent views to be modified. This method uses a pair to execute the query—a Feature ID, base view ID pair or a list template ID, base view ID pair.

Show:
© 2016 Microsoft