SPServerProductInfo.GetUpgradeStatus method
Retrieves the upgrade status on the specified SharePoint server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetUpgradeStatus ( _
farm As SPFarm, _
server As SPServer _
) As SPServerProductInfo.StatusType
'Usage
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
)
Parameters
farm
Type: Microsoft.SharePoint.Administration.SPFarmSharePoint farm to which this product belongs.
server
Type: Microsoft.SharePoint.Administration.SPServerThe specified server.
Return value
Type: Microsoft.SharePoint.Administration.SPServerProductInfo.StatusType
A SPServerProductInfo.StatusType object.