StagingHelperRunSynchronization Method (DataSet, Int32, Boolean, Int32, FuncString, Boolean) |
Runs the task synchronization for specified server and list of task IDs.
Namespace: CMS.SynchronizationAssembly: CMS.SynchronizationEngine (in CMS.SynchronizationEngine.dll) Version: 9.0.0
Syntaxpublic static string RunSynchronization(
DataSet taskDs,
int serverId,
bool runOlder,
int siteId,
Func<string, bool> logCallback
)
Parameters
- taskDs
- Type: System.DataDataSet
DataSet with task IDs and titles 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