Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
true if the object needs to be upgraded; otherwise, false.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function NeedsUpgradeByType ( _
versionUpgrade As Boolean, _
recursive As Boolean _
) As ClientResult(Of Boolean)
'Usage
Dim instance As Site
Dim versionUpgrade As Boolean
Dim recursive As Boolean
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.NeedsUpgradeByType(versionUpgrade, _
recursive)
public ClientResult<bool> NeedsUpgradeByType(
bool versionUpgrade,
bool recursive
)
Parameters
versionUpgrade
Type: System.BooleanIf true, version-to-version site collection upgrade is requested; otherwise false for build-to-build site collection upgrade.
recursive
Type: System.BooleanIf true, child upgradable objects will be inspected; otherwise false.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
Returns true if this site collection requires site collection upgrade of the specified type; otherwise, false.