Click or drag to resize
SynchronizationInfoProviderDeleteSynchronizationInfo Method (Int32, Int32, Int32, Boolean)
Deletes the synchronization info record. When serverId is specified, the siteId parameter is ignored. When siteId is specified and serverId is 0 method deletes records that belongs to all servers that are assigned to given site.

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 12.0.0
Syntax
C#
public static void DeleteSynchronizationInfo(
	int taskId,
	int serverId,
	int siteId,
	bool deleteTask = true
)

Parameters

taskId
Type: SystemInt32
Task ID
serverId
Type: SystemInt32
Server ID
siteId
Type: SystemInt32
Site ID
deleteTask (Optional)
Type: SystemBoolean
When true and after delete there are no synchronization records with same task left, the task will be deleted as well.
See Also