Click or drag to resize
SynchronizationHelperLogObjectChange Method (String, Int32, DateTime, TaskTypeEnum, Boolean, Boolean, Boolean, Boolean, Boolean, Int32, Int32)
Logs the synchronization for specified group of objects.

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 11.0.0
Syntax
C#
public static List<ISynchronizationTask> LogObjectChange(
	string objectTypes,
	int objectsSiteId,
	DateTime modifiedFrom,
	TaskTypeEnum taskType,
	bool logStaging,
	bool logIntegration,
	bool logExport,
	bool createVersion,
	bool runAsync,
	int siteId,
	int serverId
)

Parameters

objectTypes
Type: SystemString
Object types (list of object type constants separated by semicolon)
objectsSiteId
Type: SystemInt32
Objects site ID
modifiedFrom
Type: SystemDateTime
Time from which the objects were modified
taskType
Type: CMS.DataEngineTaskTypeEnum
Task type
logStaging
Type: SystemBoolean
Indicates if the staging task should be logged
logIntegration
Type: SystemBoolean
Indicates if the integration task should be logged
logExport
Type: SystemBoolean
Indicates if the export task should be logged
createVersion
Type: SystemBoolean
Indicates if the version should be created
runAsync
Type: SystemBoolean
Indicates if the logging should be asynchronous
siteId
Type: SystemInt32
Site ID for synchronization
serverId
Type: SystemInt32
Server ID for synchronization

Return Value

Type: ListISynchronizationTask
See Also