DocumentSynchronizationHelper.LogDocumentChange Method (String, String, TaskTypeEnum, Boolean, Boolean, TreeProvider, Int32, Boolean, TaskParameters, Boolean, String) |
Creates the synchronization tasks for the specified document tree.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax 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: System.String
Documents site name - aliasPath
- Type: System.String
Starting alias path - taskType
- Type: CMS.DataEngine.TaskTypeEnum
Task type - logStaging
- Type: System.Boolean
Indicates if the staging task should be logged - logIntegration
- Type: System.Boolean
Indicates if the integration task should be logged - tree
- Type: CMS.DocumentEngine.TreeProvider
Tree provider - serverId
- Type: System.Int32
Server ID to use for synchronization - keepTaskData
- Type: System.Boolean
Indicates if task data should be kept in the objects - taskParams
- Type: CMS.Synchronization.TaskParameters
Extra task parameters to use - runAsync
- Type: System.Boolean
Indicates if the logging should run asynchronously - where
- Type: System.String
Where condition
Return Value
Type:
IEnumerable<ISynchronizationTask>Returns collection of the tasks created
See Also