Share via


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)

Syntax

'Declaration
Public Sub New ( _
    sourceSiteUrl As Uri, _
    dataFileLocation As String _
)
'Usage
Dim sourceSiteUrl As Uri
Dim dataFileLocation As String

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

Parameters

  • 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

Reference

SPImportSettings class

SPImportSettings members

SPImportSettings overload

Microsoft.SharePoint.Deployment namespace