Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : REFRESH-AUDIT-POLICY( ) method
 

REFRESH-AUDIT-POLICY( ) method

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

REFRESH-AUDIT-POLICY ( integer-expression | logical-name | alias )
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 OpenEdge® Getting Started: Core Business Services - Security and Auditing.