Click or drag to resize

IImportControllerStartImport Method

Start the selected data load profile TODO: all those parameters should really be changed to an interface instead, and then implementations matching purpose

Namespace:  Omada.OE.Model.DataImport
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
StartImportResult StartImport(
	int profileId,
	bool resetHighwaterMarks,
	bool includeAuthoritativeData,
	bool previewData,
	bool exportOnly,
	bool isAdHoc,
	Nullable<bool> resetInternalHighwaterMarks = null,
	Nullable<bool> resynchronize = null,
	Nullable<bool> resynchronizeOnlyFailed = null
)

Parameters

profileId
Type: SystemInt32
The id of the data load profile to start
resetHighwaterMarks
Type: SystemBoolean
Should source system highwatermarks be reset (only relevant for import)
includeAuthoritativeData
Type: SystemBoolean
Should ES authoritative identity data be loaded
previewData
Type: SystemBoolean
Should the export to ES be done as a preview (only relevant for import profiles)
exportOnly
Type: SystemBoolean
Only perform warehouse to portal mapping
isAdHoc
Type: SystemBoolean
Import was executed manually
resetInternalHighwaterMarks (Optional)
Type: SystemNullableBoolean
Should internal highwatermarks be reset (only relevant for import and sync profiles)
resynchronize (Optional)
Type: SystemNullableBoolean
resynchronizeOnlyFailed (Optional)
Type: SystemNullableBoolean

Return Value

Type: StartImportResult
0: If success 1: Process was started but stopped immediately 2: Access denied 3: Insufficient privilege 8: Unknown failure 9: Path not found 21: Invalid parameter 100: unable to create SQL Agent job 201: Synchronization imports are not supported on Horizons 22–4294967295: Other (see more on https://msdn.microsoft.com/en-us/library/windows/desktop/aa389388(v=vs.85).aspx)
See Also