Deletes the task audit history for all tasks that meet the specified criteria. Criteria include date range, application server, and user.
To delete audit information for a given task, use ClearAuditTasks2. |
<HFMwSystemInfo>.ClearAuditTasks dStartTime, dEndTime, vbAllServers, bstrServer, vbAllUsers, lActivityUserID
The starting date and time of the date range. Pass a Double that can be cast to a Date format. | |
The ending date and time of the date range. Pass a Double that can be cast to a Date format. | |
A flag that determines whether to delete the task audit history for all application servers. Pass TRUE for all application servers, FALSE to specify an application server with the bstrServer argument. | |
The name of the application server for which to delete the task audit history. This argument is used only if the vbAllServers argument is set to FALSE. | |
A flag that determines whether to delete the task audit history for all users. Pass TRUE for all users, FALSE to specify a user with the lActivityUserID argument. | |
The activity user ID of the user for whom to delete the task audit history. This argument is used only if the vbAllUsers argument is set to FALSE. You can get the activity user ID of all users on the system with the HFMwManageApplications component’s EnumUsersOnSystem. method. |
The following subroutine deletes the audit history for a given application server.