Interface IDataExporter
Component responsible for exporting data to an exportable package
Namespace: EPiServer.Enterprise
Assembly: EPiServer.Enterprise.dll
Version: 12.0.3Syntax
public interface IDataExporter : IDisposable
Properties
ExportableItems
Can be used to add instances to the export package
Declaration
IDictionary<string, IList> ExportableItems { get; }
Property Value
Type | Description |
---|---|
System. |
A collection that instances can be added to |
Remarks
Supported key/types are ContentType/Content
Status
Gets status information about the ongoing export job
Declaration
IExportStatus Status { get; }
Property Value
Type | Description |
---|---|
IExport |
Methods
Abort()
Abort the running export.
Declaration
void Abort()
Export(Stream, IEnumerable<ExportSource>, ExportOptions)
Export the specified data to an export package specified by System.
Declaration
ITransferLog Export(Stream stream, IEnumerable<ExportSource> sourceRoots, ExportOptions options)
Parameters
Type | Name | Description |
---|---|---|
System. |
stream | The stream to where the export packages is saved |
System. |
sourceRoots | The list of content roots to export |
Export |
options | Specify settings for how the export should be done |
Returns
Type | Description |
---|---|
ITransfer |
Remarks
Potential errors and warnings are logged to returned logger
Continuous progress can be retreieved from Status.