Click or drag to resize
StagingHelperRunSynchronization Method (IEnumerableISynchronizationTask, Int32, Boolean, Int32, FuncString, Boolean)
Runs the task synchronization for specified server and list of tasks.

Namespace: CMS.Synchronization
Assembly: CMS.SynchronizationEngine (in CMS.SynchronizationEngine.dll) Version: 9.0.0
Syntax
C#
public static string RunSynchronization(
	IEnumerable<ISynchronizationTask> tasks,
	int serverId,
	bool runOlder,
	int siteId,
	Func<string, bool> logCallback
)

Parameters

tasks
Type: System.Collections.GenericIEnumerableISynchronizationTask
Tasks to synchronize
serverId
Type: SystemInt32
Server ID
runOlder
Type: SystemBoolean
Runs also older tasks
siteId
Type: SystemInt32
Site ID (specifies the site which should be used to get the servers when no server is specified)
logCallback
Type: SystemFuncString, Boolean
Log callback function

Return Value

Type: String
See Also