SPSite.NeedsUpgradeByType method
true if the object needs to be upgraded; otherwise, false.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function NeedsUpgradeByType ( _
versionUpgrade As Boolean, _
recursive As Boolean _
) As Boolean
'Usage
Dim instance As SPSite
Dim versionUpgrade As Boolean
Dim recursive As Boolean
Dim returnValue As Boolean
returnValue = instance.NeedsUpgradeByType(versionUpgrade, _
recursive)
public bool NeedsUpgradeByType(
bool versionUpgrade,
bool recursive
)
Parameters
- versionUpgrade
Type: System.Boolean
- recursive
Type: System.Boolean
Return value
Type: System.Boolean