November Happy Hour will be moved to Thursday December 5th.

Class ExportSource

The export source is used to represent a page to be copied.

Inheritance
System.Object
ExportSource
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class ExportSource : Object

Constructors

ExportSource(ContentReference)

Initializes a new instance of the ExportSource class with recursive set to true and recursive level set to infinity.

Declaration
public ExportSource(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink

The source root.

ExportSource(ContentReference, Int32)

Initializes a new instance of the ExportSource class.

Declaration
public ExportSource(ContentReference contentLink, int recursionLevel)
Parameters
Type Name Description
ContentReference contentLink

The source root.

System.Int32 recursionLevel

The recusion level.

Fields

NonRecursive

Only the page is included in the package, non recursive.

Declaration
public const int NonRecursive = 0
Field Value
Type Description
System.Int32

RecursiveLevelInfinity

The whole structure is included.

Declaration
public const int RecursiveLevelInfinity = 2147483647
Field Value
Type Description
System.Int32

Properties

Gets or sets the content source to export from.

Declaration
public ContentReference ContentLink { get; set; }
Property Value
Type Description
ContentReference

The source root.

RecursiveLevel

Gets or sets the maximum recursion depth (RecursiveLevelInfinity or -1 for infinite).

Declaration
public int RecursiveLevel { get; set; }
Property Value
Type Description
System.Int32

The recursive level.

Extension Methods