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.WebFarmSyncAssembly: CMS.WebFarmSync (in CMS.WebFarmSync.dll) Version: 13.0.131
Syntax 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