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

Return value

Type: Microsoft.SharePoint.Administration.SPServerProductInfo.StatusType
A SPServerProductInfo.StatusType object.

See also

Reference

SPServerProductInfo class

SPServerProductInfo members

Microsoft.SharePoint.Administration namespace