Synchronization parameters let an application change the parameters used to retrieve data from an MBO during a synchronization session. The primary purpose is to partition data. Change the synchronization parameter to affect the data that is retrieved.
When a synchronization parameter value is changed, the call to save automatically propagates the change to the Unwired Server; you need not call submitPending after the save. Consider the "Customer" MBO that has a "cityname" synchronization parameter.
This example shows how to retrieve customer data corresponding to Kansas City.
CustomerSynchronizationParameters *sp = [Customer getSynchronizationParameters]; sp.size = 3; sp.user = @"testuser"; sp.cityname = @"Kansas City"; [sp save]; while ([SampleApp_SampleAppDB hasPendingOperations]) [NSThread sleepForTimeInterval:0.2];