Site.NeedsUpgradeByType method

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.Boolean

    If true, version-to-version site collection upgrade is requested; otherwise false for build-to-build site collection upgrade.

  • recursive
    Type: System.Boolean

    If 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.

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace