Share via


SPManager.PeekIsUpgradeRunning method

Checks if upgrade is running on the calling thread.

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function PeekIsUpgradeRunning As Boolean
'Usage
Dim returnValue As Boolean

returnValue = SPManager.PeekIsUpgradeRunning()
public static bool PeekIsUpgradeRunning()

Return value

Type: System.Boolean
Boolean

Remarks

true if an upgrade is running on the calling thread; otherwise, false.

See also

Reference

SPManager class

SPManager members

Microsoft.SharePoint.Upgrade namespace