Class TransferImportOptions
Specifies options used during import.
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class TransferImportOptions : Object
Constructors
TransferImportOptions()
Declaration
public TransferImportOptions()
Properties
AutoCloseStream
Specifies if the stream should be automatically closed after import
Declaration
public bool AutoCloseStream { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ContentLanguages
Specifies the content languages to transfer, if no list of languages is in the list all languages is transfered.
Declaration
public IList<string> ContentLanguages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The languages to be transfered. |
ContentTypeSaveOptions
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Gets or sets the content type save options.
Declaration
public ContentTypeSaveOptions ContentTypeSaveOptions { get; set; }
Property Value
Type | Description |
---|---|
ContentTypeSaveOptions |
EnsureContentNameUniqueness
Specifies if names of imported content items should be ensured to be unique.
Declaration
public bool EnsureContentNameUniqueness { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsTest
Specifies if the import should be executed in test mode. It will then process package without doing any actual import.
Declaration
public bool IsTest { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeepIdentity
Gets or sets if identities for imported items should be preserved.
Declaration
public bool KeepIdentity { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SaveAction
Gets or sets the action that should be used when importing content.
Declaration
public SaveAction SaveAction { get; set; }
Property Value
Type | Description |
---|---|
SaveAction |
SelectedLanguage
Specifies the content language to be imported, if no language is defined then all languages are imported.
Declaration
public CultureInfo SelectedLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |
TransferType
Specifies which type of import it should be executed as.
Declaration
public TypeOfTransfer TransferType { get; set; }
Property Value
Type | Description |
---|---|
TypeOfTransfer |
ValidateDestination
Specifies if the content destination should be validated. This then validates that if the export package is created from a root such as global asset folder then the import destination must be under the same root.
Declaration
public bool ValidateDestination { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |