Export (0) Print
Expand All

SPExportSettings.IncludeVersions Property

Windows SharePoint Services 3

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)

public SPIncludeVersions IncludeVersions { get; set; }

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.

Community Additions

ADD
Show:
© 2014 Microsoft