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)
Syntax
'Declaration
Public Shared Sub OptOutTabularView ( _
viewsToUpgrade As IEnumerable(Of SPTabularViewUpgradeInfo) _
)
'Usage
Dim viewsToUpgrade As IEnumerable(Of SPTabularViewUpgradeInfo)
SPView.OptOutTabularView(viewsToUpgrade)
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.