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.3Syntax
public class ExportSource : ObjectConstructors
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 = 0Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
RecursiveLevelInfinity
The whole structure is included.
Declaration
public const int RecursiveLevelInfinity = 2147483647Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
Properties
ContentLink
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. | 
