Contents Index ping synchronization parameter security synchronization parameter

UltraLite Embedded SQL User's Guide
  Synchronization Parameters Reference
    Synchronization parameters

publication synchronization parameter


Function 

Specifies the publications to be synchronized.

Default 

If you do not specify a publication, all data is synchronized.

Usage 

The UltraLite generator identifies the publications specified on the ulgen -v command line option as upper case constants with the name UL_PUB_pubname, where pubname is the name given to the -v option.

For example, the following command line generates a publication identified by the constant UL_PUB_SALES:

ulgen -v sales ...

When synchronizing, set the publication parameter to a publication mask: an OR'd list of publication constants. For example:

ul_synch_info info;
// ...
info.publication = UL_PUB_MYPUB1 | UL_PUB_MYPUB2 ;

The special publication mask UL_SYNC_ALL describes all the tables in the database, whether in a publication or not. The mask UL_SYNC_ALL_PUBS describes all tables in publications in the database.

See also 

The UltraLite generator

Designing sets of data to synchronize separately


Contents Index ping synchronization parameter security synchronization parameter