Share via


SPImport constructor (SPImportSettings)

Initializes an instance of the SPImport class with the desired Microsoft.SharePoint.Deployment.SPImportSettings values passed in.

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

Syntax

'Declaration
Public Sub New ( _
    settings As SPImportSettings _
)
'Usage
Dim settings As SPImportSettings

Dim instance As New SPImport(settings)
public SPImport(
    SPImportSettings settings
)

Parameters

Remarks

After initializing this constructor, call the SPImport.Run method.

See also

Reference

SPImport class

SPImport members

SPImport overload

Microsoft.SharePoint.Deployment namespace