ClearAllData

Deletes all data from an application.

Note:

To delete an application’s data, the user must be assigned an Administrator role for the application.

Syntax

<HsvData>.ClearAllData

Example

This example clears the data in the application that was opened when the m_cHsvSession object variable (for the HsvSession object) was set.

Dim cHsvData as HsvData
Set cHsvData = m_cHsvSession.Data
cHsvData.ClearAllData

Tip:

HsxClient.OpenApplication returns an HsvSession object reference. For more information, see OpenApplication.