共用方式為


SPAppInstance.GetPreviousAppVersion method

擷取升級期間將升級的應用程式版本。

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

Syntax

'宣告
Public Function GetPreviousAppVersion As SPApp
'用途
Dim instance As SPAppInstance
Dim returnValue As SPApp

returnValue = instance.GetPreviousAppVersion()
public SPApp GetPreviousAppVersion()

傳回值

Type: Microsoft.SharePoint.Administration.SPApp
要從升級的應用程式版本。否則,請a null reference (Nothing in Visual Basic)。

請參閱

參照

SPAppInstance class

SPAppInstance members

Microsoft.SharePoint.Administration namespace