SPExportSettings.IncludeVersions Property
Gets or sets a value that determines what content is selected for export based on version information.
Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property IncludeVersions As SPIncludeVersions
Get
Set
'Usage
Dim instance As SPExportSettings
Dim value As SPIncludeVersions
value = instance.IncludeVersions
instance.IncludeVersions = value
public SPIncludeVersions IncludeVersions { get; set; }
Property Value
Type: Microsoft.SharePoint.Deployment.SPIncludeVersions
An SPIncludeVersions value.
Remarks
Sets or retrieves a value from the SPIncludeVersions enumeration that specifies by version what content is selected for export to the content migration package. There are four enumeration values:
All, which exports all existing versions of selected files.
CurrentVersion, which exports only the most recent version of selected files.
LastMajor, which exports only the last major version of selected files. This is the default value.
LastMajorAndMinor, which exports the last major version and its minor versions.
Note that LastMajor is the default value.