Class ExportSource
The export source is used to represent a page to be copied.
Inheritance
System.Object
ExportSource
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class ExportSource
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
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. |