Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes an instance of the SPDeploymentSettings class.
Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub New ( _
siteUrl As Uri, _
fileLocation As String, _
fileCompression As Boolean, _
baseFileName As String _
)
'Usage
Dim siteUrl As Uri
Dim fileLocation As String
Dim fileCompression As Boolean
Dim baseFileName As String
Dim instance As New SPDeploymentSettings(siteUrl, _
fileLocation, fileCompression, baseFileName)
protected SPDeploymentSettings(
Uri siteUrl,
string fileLocation,
bool fileCompression,
string baseFileName
)
Parameters
siteUrl
Type: System.UriThe absolute URL for the site containing the content that is being imported or exported.
fileLocation
Type: System.StringThe path to the directory where content migration packages are located.
fileCompression
Type: System.Booleantrue to compress the content migration package; otherwise, false. The default is true.
baseFileName
Type: System.StringThe base file name to use for content migration packages.
Remarks
A content migration package can consist of one or more CAB files, which are named based on the baseFileName parameter. (To control the maximum size of a CAB file, see SPExportSettings.FileMaxSize.) If the value of baseFileName is "MyWeb", and there are multiple CAB file in the package, they are named "MyWeb1.cab", "MyWeb2.cab", and so on.