Click or drag to resize
StagingHelperRunSynchronization Method (Int32, Int32, Boolean, Int32, Boolean)
Runs the task synchronization for specified server.

Namespace: CMS.Synchronization
Assembly: CMS.SynchronizationEngine (in CMS.SynchronizationEngine.dll) Version: 9.0.0
Syntax
C#
public static string RunSynchronization(
	int taskId,
	int serverId,
	bool runOlder,
	int siteId,
	bool standAlone
)

Parameters

taskId
Type: SystemInt32
Task ID
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)
standAlone
Type: SystemBoolean
If true, the task is synchronized on it's own

Return Value

Type: String
See Also