November Happy Hour will be moved to Thursday December 5th.

Class ImportOptions

Specifies options used for Import(Stream, ContentReference, ImportOptions) method.

Inheritance
System.Object
ImportOptions
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.Enterprise
Assembly: EPiServer.Enterprise.dll
Version: 9.12.2
Syntax
public class ImportOptions

Constructors

ImportOptions()

Declaration
public ImportOptions()

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.

DefaultOptions

Default options for import execution

Declaration
public static ImportOptions DefaultOptions { get; }
Property Value
Type Description
ImportOptions

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

TransferType

Specifies which type of import it should be executed as.

Declaration
public TypeOfTransfer TransferType { get; set; }
Property Value
Type Description
TypeOfTransfer

Extension Methods