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.
Retrieves the version of the app that is being upgraded from during an upgrade.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetPreviousAppVersion As SPApp
'Usage
Dim instance As SPAppInstance
Dim returnValue As SPApp
returnValue = instance.GetPreviousAppVersion()
public SPApp GetPreviousAppVersion()
Return value
Type: Microsoft.SharePoint.Administration.SPApp
The version of the app being upgraded from. Otherwise, a null reference (Nothing in Visual Basic).