Specifying Synchronization Parameters

Use synchronization parameters within the mobile application to download filtered MBO data.

Note: The getSynchronizationParameters method has been deprecated.

Assign the synchronization parameters of an MBO before a synchronization session. The next synchronize sends the updated synchronization parameters to the server.

Note: If you do not save the synchronization parameters, no data is downloaded to the device even if there are default values set for those synchronization parameters. Call the Save method for all synchronization parameters and for all MBOs when the application is first started. Do this after application registration and the first synchronization.
  1. List all the synchronization parameters.
    Sybase.Collections.GenericList<CustomerSubscription> r = Customer.GetSubscriptions(); 
    
  2. Add synchronization parameters.
    CustomerSubscription sp = new CustomerSubscription();
    sp.Name = "example";
    Customer.AddSubscription(sp);
  3. Save your changes by calling the synchronization parameters object's Save method:
    sp.Save();
    SMP101DB.Synchronize();
Related concepts
Synchronizing Applications
Related reference
Synchronization APIs