getAuditEvents procedure

Populates a ProDataSet with the audit events from the specified database.

Parameters:

INPUT pcDbInfo AS CHARACTER
Database info string specifying the source database.
INPUT plGetAllEvents AS LOGICAL
Determines if caller also wants to get system events.
OUTPUT DATASET-HANDLE FOR hEventDset
The ProDataSet object.