AppInstance.GetPreviousAppVersion method
Retrieves the version of the app that is being upgraded from during an upgrade.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetPreviousAppVersion As App
'Usage
Dim instance As AppInstance
Dim returnValue As App
returnValue = instance.GetPreviousAppVersion()
public App GetPreviousAppVersion()
Return value
Type: Microsoft.SharePoint.Client.App
The version of the app being upgraded from. Otherwise, a null reference (Nothing in Visual Basic).