共用方式為


SPServerProductInfo.GetUpgradeStatus method

擷取指定的 SharePoint 伺服器上的升級狀態。

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

Syntax

'宣告
Public Function GetUpgradeStatus ( _
    farm As SPFarm, _
    server As SPServer _
) As SPServerProductInfo.StatusType
'用途
Dim instance As SPServerProductInfo
Dim farm As SPFarm
Dim server As SPServer
Dim returnValue As SPServerProductInfo.StatusType

returnValue = instance.GetUpgradeStatus(farm, _
    server)
public SPServerProductInfo.StatusType GetUpgradeStatus(
    SPFarm farm,
    SPServer server
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPServerProductInfo.StatusType
SPServerProductInfo.StatusType 物件。

請參閱

參照

SPServerProductInfo class

SPServerProductInfo members

Microsoft.SharePoint.Administration namespace