AlternateSyncPartner Object

Replication Programming

Replication Programming

AlternateSyncPartner Object

An AlternateSyncPartner object defines an alternate Publisher that a subscription referenced by a SQLMerge object can use if the primary Publisher is not available, or if use of the alternate Publisher is preferable (for example, it is reachable by a faster or more reliable network connection).


Distributor Property

FriendlyName Property

Publication Property

Publisher Property

PublisherDatabase Property


To select an alternate synchronization partner, the Publisher, PublisherDatabase, Publication, and Distributor properties of the SQLMerge object should be set to the corresponding property values of the AlternateSyncPartner object before the Run method of the SQLMerge object is called.

See Also

AlternateSyncPartners Collection

SQLMerge Object