SPExportSettings Constructor (Uri, String)
Initializes a new instance of the SPExportSettings class that specifies the URL of the source 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 SPExportSettings(sourceSiteUrl, _
dataFileLocation)
public SPExportSettings(
Uri sourceSiteUrl,
string dataFileLocation
)
Parameters
sourceSiteUrl
Type: System.UriThe URL for the site containing the content that is being exported.
dataFileLocation
Type: System.StringThe path to the directory where the content migration package is located.
Remarks
The content migration package is the CAB file that is output by the export process.