ClearDataAuditItems

Deletes the audit history for all data changes that occurred before a given date and time.

Syntax

<HsvData>.ClearDataAuditItems dTimeToClearBefore

Argument

Description

dTimeToClearBefore

Double (ByVal). The timestamp that represents the date and time. This must be a Double that can be cast to a Date format.

Example

The following example deletes the data audit history through the present moment.

Dim cData As HsvData
'm_cHsvSession is an HsvSession object reference
Set cData = m_cHsvSession.Data
cData.ClearDataAuditItems CDbl(Now)