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
settings
Type: Microsoft.SharePoint.Deployment.SPImportSettingsMicrosoft.SharePoint.Deployment.SPImportSettings object with the desired import settings.
Remarks
After initializing this constructor, call the SPImport.Run method.