This documentation is archived and is not being maintained.

SPExportSettings.OverwriteExistingDataFile Property

Windows SharePoint Services 3

Gets or sets a value indicating whether you can overwrite an existing content migration package file when running export.

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

public bool OverwriteExistingDataFile { get; set; }

Property Value

Type: System.Boolean
true to allow reuse of the content migration package CAB file; otherwise, false.

If this property is set to false, an exception is thrown if the specified data file already exists. If this property is set to true and the existing data file spans more than one package, the entire file collection will be deleted before generating new output.