StagingHelper RunSynchronization Method (IEnumerable ISynchronizationTask , Int32, Boolean, Int32, Func String, Boolean )Kentico 8.0 API Reference
Runs the task synchronization for specified server and list of tasks.

Namespace: CMS.Synchronization
Assembly: CMS.SynchronizationEngine (in CMS.SynchronizationEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

tasks
Type: OnlineSystem.Collections.Generic IEnumerable ISynchronizationTask 
Tasks to synchronize
serverId
Type: OnlineSystem Int32
Server ID
runOlder
Type: OnlineSystem Boolean
Runs also older tasks
siteId
Type: OnlineSystem Int32
Site ID (specifies the site which should be used to get the servers when no server is specified)
logCallback
Type: OnlineSystem Func OnlineString, OnlineBoolean 
Log callback function

Return Value

Type: OnlineString
See Also