Share via


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

See also

Reference

SPAppInstance class

SPAppInstance members

Microsoft.SharePoint.Administration namespace