SPAppInstance.Upgrade method
Uploads a version of an app, and then upgrades the app instance to that version.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Upgrade ( _
appPackageStream As Stream _
)
'Usage
Dim instance As SPAppInstance
Dim appPackageStream As Stream
instance.Upgrade(appPackageStream)
public void Upgrade(
Stream appPackageStream
)
Parameters
appPackageStream
Type: System.IO.StreamThe stream of the app package.