Replication Programming

SQLDistribution Object

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

Properties

AltSnapshotFolder Property

Distributor Property

DistributorAddress Property

DistributorLogin Property

DistributorNetwork Property

DistributorPassword Property

DistributorSecurityMode Property

DTSPackageFileName Property

DTSPackagePassword Property

ErrorRecords Property

FileTransferType Property

FTPAddress Property

FTPLogin Property

FTPPassword Property

FTPPort Property

LoginTimeout Property

MaxDeliveredTransactions Property

ProfileName Property

Publication Property

Publisher Property

PublisherAddress Property

PublisherDatabase Property

PublisherLogin Property

PublisherNetwork Property

PublisherPassword Property

PublisherSecurityMode Property

QueryTimeout Property

SkipErrors Property

Subscriber Property

SubscriberDatabase Property

SubscriberDatabasePath Property

SubscriberDatasourceType Property

SubscriberLogin Property

SubscriberPassword Property

SubscriberSecurityMode Property

SubscriptionName Property

SubscriptionType Property

SynchronizationType Property

UndeliveredCommands Property

UndeliveredTransactions Property

WorkingDirectory Property

Methods

AddSubscription Method

CopySubscription Method

DropSubscription Method

Initialize Method

ReinitializeSubscription Method

Run Method

SetFailoverMode 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 Distribution Control 8.0. In a C++ application, include Repldstx.c and Sqldistx.h, and reference Sqldistx.dll from the project/NMAKE file.

See Also

Developing Replication Applications Using ActiveX Controls