Click or drag to resize
WebFarmTaskInfoProviderSetWebFarmTaskInfo Method

Note: This API is now obsolete.

Sets (updates or inserts) specified webFarmTask.

Namespace: CMS.WebFarmSync
Assembly: CMS.WebFarmSync (in CMS.WebFarmSync.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IWebFarmTaskInfoProvider.Set(WebFarmTaskInfo) instead. The return value (task ID) can be obtained from the WebFarmTaskInfo.TaskID property. To get an instance of the interface's implementation, use dependency injection or access the instance directly - WebFarmTaskInfo.Provider.")]
public static int SetWebFarmTaskInfo(
	WebFarmTaskInfo webFarmTask
)

Parameters

webFarmTask
Type: CMS.WebFarmSyncWebFarmTaskInfo
WebFarmTask to set

Return Value

Type: Int32
See Also