Click or drag to resize
SynchronizationInfoProviderDeleteSynchronizationInfo Method (Int32, Boolean)

Note: This API is now obsolete.

Deletes specified synchronization.

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISynchronizationInfoProvider.Delete(SynchronizationInfo) instead. To indicate whether empty parent task is to be deleted, use the SynchronizationInfo.DeleteEmptyParentTask(bool) method. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SynchronizationInfo.Provider.")]
public static void DeleteSynchronizationInfo(
	int synchronizationId,
	bool deleteTask = true
)

Parameters

synchronizationId
Type: SystemInt32
Synchronization 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