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