SPDeploymentSettings.BaseFileName property

Gets or sets the base file name used when creating content migration packages.

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


Public Property BaseFileName As String
Dim instance As SPDeploymentSettings
Dim value As String

value = instance.BaseFileName

instance.BaseFileName = value
public string BaseFileName { get; set; }

Property value

Type: System.String
Returns a string representing the base file name.


A content migration package can consist of one or more CAB files, which are named based on the baseFileName parameter. The value is taken from the baseFileName parameter on the SPDeploymentSettings class constructor (SPDeploymentSettings).

When there are multiple .cmp files, the file names (baseFileName values) are appended numerically. For example, where the baseFileName parameter is "MyWeb", and where the export operation produces multiple .cmp files, the migration packages are named "MyWeb1.cmp", "MyWeb2.cmp", and so forth.

See also


SPDeploymentSettings class

SPDeploymentSettings members

Microsoft.SharePoint.Deployment namespace