WebSyncHelper CreateTask Method Kentico 8.0 API Reference
Creates task.

Namespace: CMS.WebFarmSync
Assembly: CMS.WebFarmSync (in CMS.WebFarmSync.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

taskType
Type: OnlineSystem String
Task type
taskTarget
Type: OnlineSystem String
Target
taskTextData
Type: OnlineSystem String
Task text data (such as code name, ID etc.)
taskBinaryData
Type: CMS.Core BinaryData
Task binary data (for attachments etc.)
serverId (Optional)
Type: OnlineSystem Int32
If (serverId > 0) then create task only for a specific server, otherwise create the task for all enabled servers

Return Value

Type: OnlineBoolean
Returns true if the task was created (web farm is set up and task was allowed)
See Also