Click or drag to resize
MediaLibraryHelperLogSynchronization Method (String, Int32, String, String, TaskTypeEnum, Boolean)
Logs the synchronization task for media folder.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax
C#
public static StagingTaskInfo LogSynchronization(
	string siteName,
	int libraryId,
	string sourcePath,
	string targetPath,
	TaskTypeEnum taskType,
	bool runAsync
)

Parameters

siteName
Type: SystemString
Site name
libraryId
Type: SystemInt32
Library ID
sourcePath
Type: SystemString
Source path
targetPath
Type: SystemString
Target path
taskType
Type: CMS.DataEngineTaskTypeEnum
Task type
runAsync
Type: SystemBoolean
Indicates if the logging should run asynchronously

Return Value

Type: StagingTaskInfo
Returns new synchronization task
See Also