DocumentSynchronizationHelperLogDocumentChange 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: 11.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: 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:
IEnumerableISynchronizationTaskReturns collection of the tasks created
See Also