Share via


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)

Syntax

'Declaration
Public Property BaseFileName As String
    Get
    Set
'Usage
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.

Remarks

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

Reference

SPDeploymentSettings class

SPDeploymentSettings members

Microsoft.SharePoint.Deployment namespace