Partilhar via


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)

Syntax

'Declaration
Public Property UpdateVersions As SPUpdateVersions
    Get
    Set
'Usage
Dim instance As SPImportSettings
Dim value As SPUpdateVersions

value = instance.UpdateVersions

instance.UpdateVersions = value
public SPUpdateVersions UpdateVersions { get; set; }

Property Value

Type: Microsoft.SharePoint.Deployment.SPUpdateVersions
An SPUpdateVersions value.

Remarks

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.

See Also

Reference

SPImportSettings Class

SPImportSettings Members

Microsoft.SharePoint.Deployment Namespace