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