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

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
public static StagingTaskInfo LogSynchronization(
	string siteName,
	int libraryId,
	string sourcePath,
	string targetPath,
	TaskTypeEnum taskType,
	int serverId,
	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
serverId
Type: SystemInt32
Server ID to synchronize
runAsync
Type: SystemBoolean
Indicates if the logging should run asynchronously

Return Value

Type: StagingTaskInfo
Returns new synchronization task
See Also