Share via


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

Return Value

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

See Also

Reference

SPServerProductInfo Class

SPServerProductInfo Members

Microsoft.SharePoint.Administration Namespace