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