DocumentSynchronizationHelper.LogDocumentChange Method (String, String, TaskTypeEnum, TreeProvider, Int32, Boolean, Boolean) |
Creates the synchronization tasks for the specified document tree.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntaxpublic static IEnumerable<ISynchronizationTask> LogDocumentChange(
string siteName,
string aliasPath,
TaskTypeEnum taskType,
TreeProvider tree,
int serverId,
bool keepTaskData,
bool runAsync
)
Parameters
- siteName
- Type: System.String
Documents site name - aliasPath
- Type: System.String
Starting alias path - taskType
- Type: CMS.DataEngine.TaskTypeEnum
Task type - tree
- Type: CMS.DocumentEngine.TreeProvider
Tree provider - serverId
- Type: System.Int32
Server ID - keepTaskData
- Type: System.Boolean
Indicates if task data should be kept in the objects - runAsync
- Type: System.Boolean
Indicates if the logging should run asynchronously
Return Value
Type:
IEnumerable<ISynchronizationTask>Returns list of the ISynchronizationTasks created
See Also