REFRESH-AUDIT-POLICY( ) method
- Last Updated: October 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Notifies the specified audit-enabled database that its audit policy tables have changed, which causes the database to refresh its current run-time audit policy settings cache before performing any more database operations.
Return type: LOGICAL
Applies to: AUDIT-POLICY system handle
Syntax
|
- integer-expression
- The sequence number of the connected database that needs to refresh its audit policy
settings cache. For example,
REFRESH-AUDIT-POLICY(1)notifies the first database,REFRESH-AUDIT-POLICY(2)notifies the second database, and so on. If you specify a sequence number that does not correspond to a connected database, the AVM generates a run-time error. - logical-name or alias
- The logical name or alias of the connected database that needs to refresh its audit policy settings cache. These forms require a quoted character string or a character expression. If you specify a logical name or alias that does not correspond to a connected database, the AVM generates a run-time error.
If successful, this method returns TRUE. Otherwise, it returns FALSE.
For information about audit-enabling a database, or creating and activating an audit policy for a database, see Learn about Security and Auditing.