Click or drag to resize
WebFarmTaskInfoProviderDeleteServerMemoryTasks Method
Deletes all memory task for specified server created before given date. If server is not specified (equals zero), deletes tasks of all servers. If date is not specified, deletes tasks before current date time.

Namespace: CMS.WebFarmSync
Assembly: CMS.WebFarmSync (in CMS.WebFarmSync.dll) Version: 12.0.0
Syntax
C#
public static void DeleteServerMemoryTasks(
	int serverId = 0,
	Nullable<DateTime> taskCreated = null
)

Parameters

serverId (Optional)
Type: SystemInt32
Server ID.
taskCreated (Optional)
Type: SystemNullableDateTime
Tasks created before this date time will be deleted. If null, current date time is used.
See Also