Replication Programming

SQLMerge Object

The SQL Merge control is implemented as a Microsoft® ActiveX® in-process component. The SQL Merge control provides an alternate way, in addition to the Merge Agent, to synchronize merge subscriptions. Its primary class, the SQLMerge object, provides the functionality of the Merge Agent and supports synchronization of push, pull, or anonymous subscriptions to a merge publication. The SQLMerge object also includes the options to:

Properties

AlternateSyncPartners Property

AltSnapshotFolder Property

Distributor Property

DistributorAddress Property

DistributorLogin Property

DistributorNetwork Property

DistributorPassword Property

DistributorSecurityMode Property

DynamicSnapshotLocation Property

ErrorRecords Property

ExchangeType Property

FileTransferType Property

FTPAddress Property

FTPLogin Property

FTPPassword Property

FTPPort Property

HostName Property

LoginTimeout Property

ProfileName Property

Publication Property

Publisher Property

PublisherAddress Property

PublisherChanges Property

PublisherConflicts Property

PublisherDatabase Property

PublisherLogin Property

PublisherNetwork Property

PublisherPassword Property

PublisherSecurityMode Property

QueryTimeout Property

Subscriber Property

SubscriberChanges Property

SubscriberConflicts Property

SubscriberDatabase Property

SubscriberDatabasePath Property

SubscriberDatasourceType Property

SubscriberLogin Property

SubscriberPassword Property

SubscriberSecurityMode Property

SubscriptionName Property

SubscriptionPriority Property

SubscriptionPriorityType Property

SubscriptionType Property

SynchronizationType Property

SyncToAlternate Property

UseInteractiveResolver Property

Validate Property

WorkingDirectory Property

Methods

AddSubscription Method

CopySubscription Method

DropSubscription Method

Initialize Method

ReinitializeSubscription Method

Run Method

Terminate Method

Events

Status Event

Remarks

To refer to the elements of this object from a Microsoft Visual Basic® application, in the Project/References dialog box, select Microsoft SQL Merge Control 8.0. In a C/C++ application, include Replmrgx.c and Sqlmergx.h, and reference Sqlmergx.dll from the project/NMAKE file.

See Also

Developing Replication Applications Using ActiveX Controls