共用方式為


SPAppInstance.Upgrade method

上傳應用程式的版本,然後將應用程式執行個體升級為該版本。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub Upgrade ( _
    appPackageStream As Stream _
)
'用途
Dim instance As SPAppInstance
Dim appPackageStream As Stream

instance.Upgrade(appPackageStream)
public void Upgrade(
    Stream appPackageStream
)

參數

請參閱

參照

SPAppInstance class

SPAppInstance members

Microsoft.SharePoint.Administration namespace