Synchronization.ResetOfflineDatabase method

Official Content
This documentation is valid for:

Syntax

Synchronization.ResetOfflineDatabase()

Description

It returns the local database content of the offline App to its initial state. That means:

  • restoring the preloaded database if it exists, or
  • executing a Create Database in order to empty database tables.

This behavior is the same that happens when the Synchronization.Receive method returns the message Metadata error code received. Code: 2. In this case the database is automatically restored and a new Receive operation is performed.

Note: The method can only be used inside a Client-side Event

Scope

Objects Smart Devices objects
Platforms Android, Apple iOS

Availability

As from GeneXus X Evolution 3 Upgrade 7

See also



Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.