Table of Contents

Class ImportOptions

Namespace
ArcanaDevelopment.adTempus.Shared
Assembly
ArcanaDevelopment.adTempus.Shared.dll

Specifies options for importing data.

[DataContract]
public class ImportOptions : ImportExportOptions
Inheritance
object
ImportOptions

Fields

AbortSaveOnWarnings

Determines whether validation warnings cause the save to be aborted when PostImportAction is Save.

[DataMember]
public bool AbortSaveOnWarnings

Field Value

bool

Remarks

If AbortSaveOnWarnings is false (the default), the save is aborted only for validation messages with a severity of Error or higher.

HoldJobs

Specifies whether to hold jobs.

[DataMember]
public bool HoldJobs

Field Value

bool

Remarks

If HoldJobs is true, all jobs imported from the source will have their HoldType set to HoldType.DisableAll.

ImportSecurity

Import security descriptors for objects. If not specified, the imported objects receive the default permissions.

[DataMember]
public bool ImportSecurity

Field Value

bool

ImportSelectionsOnly

Determines whether objects not found in the ImportParameters are imported.

[DataMember]
public bool ImportSelectionsOnly

Field Value

bool

Remarks

If ImportSelectionsOnly is True, only objects marked for import in the ObjectImportParameters (and objects referenced by selected objects) are imported. If ImportSelectionsOnly is False, any objects that are neither included nor excluded in the ObjectImportParameters are also imported.

Set ImportSelectionsOnly to False if you want to import all objects in the source without creating ObjectImportParameters for each one.

ObjectImportParameters

Collection of ObjectImportParameters objects specifying the action to take for each object in the import source.

[DataMember]
public List<ObjectImportParameters> ObjectImportParameters

Field Value

List<ObjectImportParameters>

PostImportAction

The action to take with imported objects.

[DataMember]
public PostImportAction PostImportAction

Field Value

PostImportAction

ReturnComparisonReport

Requests an object comparison report for imported objects.

[DataMember]
public bool ReturnComparisonReport

Field Value

bool

Remarks

If ReturnComparisonReport is True, the ImportData method returns a collection of ObjectComparison objects comparing the version of the object found in the import file to the version currently saved in the database.

ReturnImportedObjects

Determines whether the imported objects are returned.

[DataMember]
public bool ReturnImportedObjects

Field Value

bool

Inherited Members