Click or drag to resize
SynchronizationInfoProviderDeleteSynchronizationInfo Method (SynchronizationInfo, 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(
	SynchronizationInfo synchronizationObj,
	bool deleteTask = true
)

Parameters

synchronizationObj
Type: CMS.SynchronizationSynchronizationInfo
Synchronization object
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