StagingHelperRunSynchronization Method (Int32, Int32, Boolean, Int32, Boolean) |
Runs the task synchronization for specified server.
Namespace: CMS.SynchronizationAssembly: CMS.SynchronizationEngine (in CMS.SynchronizationEngine.dll) Version: 8.2.23
Syntax 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:
StringSee Also