update-auditing-policies procedure
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
update-auditing-policies procedure
Saves the audit policy changes tracked in a specified ProDataSet object into a specified
target database. The caller should check the ProDataSet and buffer's ERROR
attribute for any error conditions and the buffer's ERROR-STRING for error
messages.
Parameters:
- INPUT pcDbInfo AS CHARACTER
- Database information string specifying the target database to save the changes.
- INPUT-OUTPUT DATASET-HANDLE phDataset
- ProDataSet with the tracked changes.
Note: This procedure calls the _update-policies.p external procedure,
which automatically refreshes the database cache by calling the
AUDIT-POLICY:REFRESH-AUDIT-POLICY() method.Example:
The following example is a combination of pseudo-code and ABL that shows how to run this procedure:
Calling the update-auditing-policies API procedure
|