The client always initiates MobiLink synchronization. For SQL Anywhere clients, synchronization can be initiated using the dbmlsync utility, the dbmlsync API or the SQL SYNCHRONIZE statement. All share similar semantics but offer different interfaces to synchronization and different abilities to integrate synchronization with your own applications.
There are many options available to customize synchronization behavior, however, a few stand out because they are required for virtually any synchronization. These are discussed below.
The -c option lets you specify connection parameters that control how dbmlsync will connect to the remote database. This information is not required when using the SQL synchronize statement because the connection information is taken from the database connection that is executing the statement. See -c dbmlsync option.
The -s or Subscription option allows you to specify which subscription defined in the remote database will be synchronized. See -s dbmlsync option.
The CommunicaionAddress and CommunicationType extended options let you specify network protocol options that determine how dbmlsync will connect with the MobiLink server during synchronization. See CommunicationAddress (adr) extended option and CommunicationType (ctp) extended option.
The Script Version clause on the CREATE SYNCHRONIZATION SUBSCRIPTION SQL statement lets you specify they script version to be used when synchronizing a subscription. The script version determines which scripts will be used by the MobiLink Server to control and process the synchronization. See CREATE SYNCHRONIZATION SUBSCRIPTION statement [MobiLink].
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|