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

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

Parameters

siteName
Type: SystemString
Documents site name
aliasPath
Type: SystemString
Starting alias path
taskType
Type: CMS.DataEngineTaskTypeEnum
Task type
logStaging
Type: SystemBoolean
Indicates if the staging task should be logged
logIntegration
Type: SystemBoolean
Indicates if the integration task should be logged
tree
Type: CMS.DocumentEngineTreeProvider
Tree provider
serverId
Type: SystemInt32
Server ID to use for synchronization
keepTaskData
Type: SystemBoolean
Indicates if task data should be kept in the objects
taskParams
Type: CMS.SynchronizationTaskParameters
Extra task parameters to use
runAsync
Type: SystemBoolean
Indicates if the logging should run asynchronously
where
Type: SystemString
Where condition

Return Value

Type: IEnumerableISynchronizationTask
Returns collection of the tasks created
See Also