- Create a JetDatabase object with the appropriate properties.
- Open the database and call LoadSchema to load the collection of tables and columns into memory.
- If you want to synchronize the whole database, call TagSchema with the TagSchemaOption.All value as parameter.
- If you just want to synchronize a subset of the database, make sure you manually tag the tables and columns (set the UserInt value to: 0-exclude, 1-synchronize, 2-export only).
- Initialize a PrepareProgressCallback delegate and make it point to a method for progress reporting purposes.
- Call the Prepare method using the progress reporting callback. You can call this method from a thread or from a background worker.
- Done.
To remove the tracking tables and columns, use the Unprepare method.


0 comments:
Post a Comment