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
)
參數
farm
Type: Microsoft.SharePoint.Administration.SPFarm此產品所屬的 SharePoint 伺服器陣列。
server
Type: Microsoft.SharePoint.Administration.SPServer指定的伺服器。
傳回值
Type: Microsoft.SharePoint.Administration.SPServerProductInfo.StatusType
SPServerProductInfo.StatusType 物件。