|  | Aqualogic Interaction API | |
| IPTAuditManager.DiscardOldAuditMsgs Method |
Delete audit messages from the database and from archive files that meet the specified criteria
int DiscardOldAuditMsgs(
int lAuditTypeMask,
XPDateTime dtCutoffMsgTime,
XPDateTime dtCutoffMsgTimeLog
);
Parameters
-
lAuditTypeMask
- a bitmask of the types of audit messages to be deleted, as specified in PT_AUDIT_TYPES. NOTE: This argument applies ONLY to audit messages in the database, NOT to audit messages in archive files.
-
dtCutoffMsgTime
- audit messages in the database that are older than this time and that have a type specified by lAuditTypeMask, will be deleted
-
dtCutoffMsgTimeLog
- audit message archive files that are older than this time will be deleted. Note that all messages in a file are guaranteed to be older than the file itself.
Return Value
the number of database rows affected by the deletion
See Also
IPTAuditManager Interface | com.plumtree.server Namespace