IMergeSynchronizationAgent Interface

Provides an implementation of the MergeSynchronizationAgent class for late-bound COM clients.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
<GuidAttribute("f7b73669-8742-4e3b-af40-9fed3f1cacab")> _
Public Interface IMergeSynchronizationAgent
'Usage
Dim instance As IMergeSynchronizationAgent
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
[GuidAttribute("f7b73669-8742-4e3b-af40-9fed3f1cacab")]
public interface IMergeSynchronizationAgent
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsDual)]
[GuidAttribute(L"f7b73669-8742-4e3b-af40-9fed3f1cacab")]
public interface class IMergeSynchronizationAgent
[<ComVisibleAttribute(true)>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)>]
[<GuidAttribute("f7b73669-8742-4e3b-af40-9fed3f1cacab")>]
type IMergeSynchronizationAgent =  interface end
public interface IMergeSynchronizationAgent

The IMergeSynchronizationAgent type exposes the following members.

Properties

  Name Description
Public property AlternateSynchronizationPartnerCollection Gets the alternate synchronization partners for a subscription.
Public property AltSnapshotFolder Gets or sets the alternate snapshot folder for the subscription.
Public property ComErrorCollection Gets a collection of errors generated by the replication agent.
Public property Distributor Gets or sets the name of the instance of Microsoft SQL Server that is acting as the Distributor for the subscription.
Public property DistributorAddress Gets or sets the network address that is used to connect to the Distributor when the DistributorNetwork property is specified.
Public property DistributorEncryptedPassword Gets or sets the encrypted version of the Distributor password.
Public property DistributorLogin Gets or sets the login name that is used when connecting to the Distributor using SQL Server Authentication.
Public property DistributorNetwork Gets or sets the client Net-Library that is used when connecting to the Distributor.
Public property DistributorPassword Gets or sets the password that is used when connecting to the Distributor using SQL Server Authentication.
Public property DistributorSecurityMode Gets or sets the security mode used when connecting to the Distributor.
Public property DownloadGenerationsPerBatch Gets or sets the number of generations to be processed in a single batch while downloading changes from the Publisher to the Subscriber. A generation is defined as a logical group of changes per article.
Public property DynamicSnapshotLocation Gets or sets the location of the partitioned snapshot for this Subscriber.
Public property ExchangeType Gets or sets how data is exchanged during synchronization.
Public property FileTransferType Gets or sets how the initial snapshot files are transferred to the Subscriber.
Public property HostName Gets or sets the value used by the Merge Agent when it evaluates a parameterized filter that uses the HOST_NAME function.
Public property InputMessageFile Gets or sets the name of the input message file.
Public property InternetLogin Gets or sets the login name that is used with Web synchronization when connecting to the Publisher by using Internet authentication.
Public property InternetPassword Gets or sets the password for the InternetLogin property that is used with Web synchronization when connecting to the Publisher by using Internet authentication.
Public property InternetProxyLogin Gets or sets the login name that is used with Web synchronization when connecting to the Web server by using an Internet proxy server.
Public property InternetProxyPassword Gets or sets the password for the login that is used with Web synchronization when connecting to the Web server by using an Internet proxy server.
Public property InternetProxyServer Gets or sets the name of the Internet proxy server that is used with Web synchronization when connecting to the Web server.
Public property InternetSecurityMode Gets or sets the HTTP authentication method that is used when connecting to the Web server during Web synchronization.
Public property InternetTimeout Gets or sets the HTTP time-out when connecting to the Web server.
Public property InternetUrl Gets or sets the URL of the Web service that is configured for Web synchronization.
Public property LastUpdatedTime Gets the timestamp of the last time that replication agent synchronized the subscription.
Public property LoginTimeout Gets or sets the maximum number of seconds to wait for connections to be established.
Public property MetadataRetentionCleanup Get or sets whether to clean up metadata.
Public property Output Gets or sets the agent output file.
Public property OutputMessageFile Gets or sets the name of the output message file.
Public property OutputVerboseLevel Gets or sets the level of detail of information that is written to the agent output file.
Public property ProfileName Gets or sets the name of the profile that is used by the agent.
Public property Publication Gets or sets the name of the publication.
Public property Publisher Gets or sets the name of the instance of Microsoft SQL Server that is the Publisher for the subscription.
Public property PublisherAddress Gets or sets the network address that is used to connect to the Publisher when the PublisherNetwork property is specified.
Public property PublisherChanges Gets the total number of Publisher changes that were applied at the Subscriber during the last synchronization.
Public property PublisherConflicts Gets the total number of conflicts that occurred at the Publisher during the last synchronization.
Public property PublisherDatabase Gets or sets the name of the publication database.
Public property PublisherEncryptedPassword Gets or sets the publisher encrypted password.
Public property PublisherFailoverPartner Gets or sets the failover partner instance of SQL Server that is participating in a database mirroring session with the publication database.
Public property PublisherLogin Gets or sets the login name that is used when connecting to the Publisher by using SQL Server Authentication.
Public property PublisherNetwork Gets or sets the client Net-Library that is used when connecting to the Publisher.
Public property PublisherPassword Gets or sets the password that is used when connecting to the Publisher by using SQL Server Authentication.
Public property PublisherSecurityMode Gets or sets the security mode that is used when connecting to the Publisher.
Public property QueryTimeout Gets or sets the number of seconds that are allowed for internal queries to finish.
Public property Subscriber Gets or sets the name of the instance of Microsoft SQL Server that is the Subscriber.
Public property SubscriberChanges Gets the total number of Subscriber changes that were applied at the Publisher during the last synchronization.
Public property SubscriberConflicts Gets the total number of conflicts that occurred at the Publisher during the last synchronization.
Public property SubscriberDatabase Gets or sets the name of the subscription database.
Public property SubscriberDatabasePath Gets or sets the subscriber database path.
Public property SubscriberDataSourceType Gets or sets the type of data source that is used as the Subscriber.
Public property SubscriberEncryptedPassword Gets or sets the subscriber encrypted password.
Public property SubscriberLogin Gets or sets the login name used that is when connecting to the Subscriber by using SQL Server Authentication.
Public property SubscriberPassword Sets the password that is used when connecting to the Subscriber by using SQL Server Authentication.
Public property SubscriberSecurityMode Gets or sets the security mode used when connecting to the Subscriber.
Public property SubscriptionType Gets or sets whether the subscription is a push or pull subscription.
Public property SyncToAlternate Gets or sets whether the synchronization is to an alternate synchronization partner.
Public property UploadGenerationsPerBatch Gets or sets the number of generations to be processed in a single batch while uploading changes from the Subscriber to the Publisher. A generation is defined as a logical group of changes per article.
Public property UseInteractiveResolver Gets or sets whether the interactive resolver is used during reconciliation.
Public property UseWebSynchronization Gets or sets whether Web synchronization is used.
Public property Validate Gets or sets whether data validation is performed on the Subscriber data at the end of the synchronization.
Public property WorkingDirectory Gets or sets the working directory from which snapshot files are accessed when FTP is used.

Top

Methods

  Name Description
Public method Abort Aborts the current subscription synchronization.
Public method ClearAllTraceFlags Clears all the trace flags used in the synchronization.
Public method ClearTraceFlag Clears the specified trace flag.
Public method EnableTraceFlag Enables the specified trace flag.
Public method IsSnapshotRequired Gets or sets a value that indicates whether a new snapshot will be applied during the next agent synchronization.
Public method ProcessMessagesAtPublisher Processes the messages at the publisher.
Public method ProcessMessagesAtSubscriber Processes the messages at the subscriber.
Public method Synchronize Starts the Merge Agent to synchronize the subscription.

Top

Remarks

See MergeSynchronizationAgent for information on members of IMergeSynchronizationAgent.

See Also

Reference

Microsoft.SqlServer.Replication Namespace