SPImportSettings.UpdateVersions property

Gets or sets a value indicating how versioning is managed in the destination location.

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

public SPUpdateVersions UpdateVersions { get; set; }

Allowable values for specifying versioning information on import:

  • Append: Appends versioned items on import.

  • Overwrite: Deletes the existing item on import, then reinserts the imported version.

  • Ignore: Ignores versioning.

Show: