SPServerProductInfo.GetUpgradeStatus Method
Retrieves the upgrade status on the specified SharePoint server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.