Click or drag to resize
ImportProviderUpdateObject Method

Note: This API is now obsolete.

Updates the object. Returns true if the object was updated.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use method ImportObject")]
public static UpdateResultEnum UpdateObject(
	SiteImportSettings settings,
	GeneralizedInfo infoObj,
	bool siteObject,
	DataSet data,
	TranslationHelper th,
	bool updateChildren,
	ProcessObjectEnum process,
	List<int> importedParentIds,
	List<GeneralizedInfo> postProcessList,
	List<ImportedObject> importedObjects,
	GeneralizedInfo parentObject,
	bool postProcessing
)

Parameters

settings
Type: CMS.CMSImportExportSiteImportSettings
Import settings
infoObj
Type: CMS.DataEngineGeneralizedInfo
Object to update
siteObject
Type: SystemBoolean
Site object
data
Type: System.DataDataSet
DataSet with the object data
th
Type: CMS.DataEngineTranslationHelper
Translation table
updateChildren
Type: SystemBoolean
Update child objects?
process
Type: CMS.CMSImportExportProcessObjectEnum
Process type
importedParentIds
Type: System.Collections.GenericListInt32
Table of imported parent object IDs. When set, only objects with parent from the table are imported
postProcessList
Type: System.Collections.GenericListGeneralizedInfo
List of objects which should be processed after finishing of main objects
importedObjects
Type: System.Collections.GenericListImportedObject
Imported objects for further process
parentObject
Type: CMS.DataEngineGeneralizedInfo
Parent object of object to update
postProcessing
Type: SystemBoolean
Indicates if run in post processing

Return Value

Type: UpdateResultEnum
See Also