Share via


SPImportContext.Current property

Gets the current SPImportContext.

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

Syntax

'Declaration
Public Shared ReadOnly Property Current As SPImportContext
    Get
'Usage
Dim value As SPImportContext

value = SPImportContext.Current
public static SPImportContext Current { get; }

Property value

Type: Microsoft.SharePoint.Deployment.SPImportContext
The current SPImportContext object.

See also

Reference

SPImportContext class

SPImportContext members

Microsoft.SharePoint.Deployment namespace