MergeSynchronizationAgent Members

Provides the functionality of the Replication Merge Agent.

The following tables list the members exposed by the MergeSynchronizationAgent type.

Public Constructors

  Name Description
MergeSynchronizationAgent Creates an instance of the MergeSynchronizationAgent class.

Top

Public Properties

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

Top

Public Methods

(see also Protected Methods )

  Name Description
ms149906.pubmethod(en-US,SQL.90).gif Abort  
ms149906.pubmethod(en-US,SQL.90).gif ClearAllTraceFlags  
ms149906.pubmethod(en-US,SQL.90).gif ClearTraceFlag  
ms149906.pubmethod(en-US,SQL.90).gif CreateObjRef  (inherited from MarshalByRefObject )
ms149906.pubmethod(en-US,SQL.90).gif Dispose Overloaded.  
ms149906.pubmethod(en-US,SQL.90).gif EnableTraceFlag  
ms149906.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms149906.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms149906.pubmethod(en-US,SQL.90).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms149906.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms149906.pubmethod(en-US,SQL.90).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms149906.pubmethod(en-US,SQL.90).gif IsSnapshotRequired Connects to the Publisher or Distributor and the Subscriber to determine whether a new snapshot will be applied during the next agent synchronization.
ms149906.pubmethod(en-US,SQL.90).gif ProcessMessagesAtPublisher  
ms149906.pubmethod(en-US,SQL.90).gif ProcessMessagesAtSubscriber  
ms149906.pubmethod(en-US,SQL.90).gifms149906.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms149906.pubmethod(en-US,SQL.90).gif Synchronize Starts the Merge Agent to synchronize the subscription.
ms149906.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms149906.protmethod(en-US,SQL.90).gif Dispose Overloaded.  
ms149906.protmethod(en-US,SQL.90).gif Finalize Overridden.  
ms149906.protmethod(en-US,SQL.90).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )

Top

Public Events

  Name Description
ms149906.pubevent(en-US,SQL.90).gif ComStatus  
ms149906.pubevent(en-US,SQL.90).gif Status Occurs when the Merge Agent returns synchronization status information.

Top

See Also

Reference

MergeSynchronizationAgent Class
Microsoft.SqlServer.Replication Namespace

Other Resources

How to: Synchronize a Pull Subscription (RMO Programming)
How to: Synchronize a Push Subscription (RMO Programming)
Replication Merge Agent