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.SynchronizationAssembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 11.0.0
Syntax 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