Creates task.
Namespace: CMS.WebFarmSyncAssembly: CMS.WebFarmSync (in CMS.WebFarmSync.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- taskType
- Type:
System String
Task type
- taskTarget
- Type:
System String
Target
- taskTextData
- Type:
System String
Task text data (such as code name, ID etc.)
- taskBinaryData
- Type: CMS.Core BinaryData
Task binary data (for attachments etc.)
- serverId (Optional)
- Type:
System Int32
If (serverId > 0) then create task only for a specific server, otherwise create the task for all enabled servers
Return Value
Type:
Returns true if the task was created (web farm is set up and task was allowed)
See Also