다음을 통해 공유


SPImport Constructor (Uri, String, String)

Initializes an instance of the SPImport class that specifies the URL of the source web 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, _
    baseDataFileName As String _
)
'Usage
Dim sourceSiteUrl As Uri
Dim dataFileLocation As String
Dim baseDataFileName As String

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

Parameters

  • sourceSiteUrl
    Type: System.Uri

    Specifies the URL for the import source site collection.

  • dataFileLocation
    Type: System.String

    Specifies the location of the export files.

  • baseDataFileName
    Type: System.String

    Specifies the name of the output migration (.cmp) file provided by the export operation. If the file was segmented on export, this property specifies the name of the first file in the chain of migration package files.

    If the FileCompression property is set to false, this property is ignored.

See Also

Reference

SPImport Class

SPImport Members

SPImport Overload

Microsoft.SharePoint.Deployment Namespace