SPImportSettings constructor (Uri, String)

Initializes a new instance of the SPImportSettings class, including the URL for the destination Web site and the location of the content migration package.

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


Public Sub New ( _
    sourceSiteUrl As Uri, _
    dataFileLocation As String _
Dim sourceSiteUrl As Uri
Dim dataFileLocation As String

Dim instance As New SPImportSettings(sourceSiteUrl, _
public SPImportSettings(
    Uri sourceSiteUrl,
    string dataFileLocation


  • sourceSiteUrl
    Type: System.Uri

    The URL for the destination Web site.

  • dataFileLocation
    Type: System.String

    The path to the directory where the content migration package is located.

See also


SPImportSettings class

SPImportSettings members

SPImportSettings overload

Microsoft.SharePoint.Deployment namespace