SPImportContext.IsRunning property

Gets whether an import operation is running within the current thread context.

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

Syntax

'Declaration
Public Property IsRunning As Boolean
    Get
    Friend Set
'Usage
Dim instance As SPImportContext
Dim value As Boolean

value = instance.IsRunning
public bool IsRunning { get; internal set; }

Property value

Type: System.Boolean
true when an import operation is running; otherwise, false.

See also

Reference

SPImportContext class

SPImportContext members

Microsoft.SharePoint.Deployment namespace