Publication

Applies to

MLSynchronization and MLSync objects

Description

Specifies the publication or publications to be updated during a synchronization. Setting this property is equivalent to including the -n dbmlsync option.

Usage

This is a required property of the synchronization object. If the property value has not been set before a synchronize call, the synchronization fails and an error string is saved to the synchronization object's ErrorText property.

At design time, you can enter the Publication property value on the General tab of the Properties view for an MLSync object.

The default synchronization options window generated by the MobiLink wizard contains a Publications text box that is visible but disabled. At runtime, application users can view Publication values on the Subscriptions tab page of the default synchronization options window, but they cannot change those values unless you enable the text box field.

In scripts

You can modify Publication values in script as follows:

mlSync.Publication = "pubs1, pubs2"