MediaLibraryHelperLogSynchronization Method (String, Int32, String, String, TaskTypeEnum, Boolean) |
Logs the synchronization task for media folder.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 11.0.0
Syntax 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:
StagingTaskInfoReturns new synchronization task
See Also