Click or drag to resize
DocumentSynchronizationHelperLogDocumentChange Method (String, String, TaskTypeEnum, TreeProvider, Int32, Boolean, Boolean)
Creates the synchronization tasks for the specified document tree.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static IEnumerable<ISynchronizationTask> LogDocumentChange(
	string siteName,
	string aliasPath,
	TaskTypeEnum taskType,
	TreeProvider tree,
	int serverId,
	bool keepTaskData,
	bool runAsync
)

Parameters

siteName
Type: SystemString
Documents site name
aliasPath
Type: SystemString
Starting alias path
taskType
Type: CMS.DataEngineTaskTypeEnum
Task type
tree
Type: CMS.DocumentEngineTreeProvider
Tree provider
serverId
Type: SystemInt32
Server ID
keepTaskData
Type: SystemBoolean
Indicates if task data should be kept in the objects
runAsync
Type: SystemBoolean
Indicates if the logging should run asynchronously

Return Value

Type: IEnumerableISynchronizationTask
Returns list of the ISynchronizationTasks created
See Also