Import pages from binary format

Namespace:  EPiServer.Enterprise
Assembly:  EPiServer.Enterprise (in EPiServer.Enterprise.dll) Version: 6.0.530.0

Syntax

C#
public class DataImporter : ExportImportBase

Examples

An example that demonstrates how to import a package that has been exported with the DataExporter class. The package is imported directly under the root page in the destination site.
CopyC#
DataImporter importer = new DataImporter();

importer.DestinationRoot = EPiServer.Core.PageReference.StartPage;
importer.Stream = new FileStream(@"c:\pagetype.episerverdata", FileMode.Open);
importer.Import();

Inheritance Hierarchy

System..::.Object
  EPiServer.Enterprise..::.ExportImportBase
    EPiServer.Enterprise..::.DataImporter

See Also