Sdílet prostřednictvím


MergeSynchronizationAgent Members

Include Protected Members
Include Inherited Members

Provides the functionality of the Replication Merge Agent.

The MergeSynchronizationAgent type exposes the following members.

Constructors

  Name Description
Public method MergeSynchronizationAgent() Creates an instance of the MergeSynchronizationAgent class.

Top

Methods

  Name Description
Public method Abort() Infrastructure.
Public method ClearAllTraceFlags() Infrastructure.
Public method ClearTraceFlag(Int32) Infrastructure.
Public method CreateObjRef(Type) (Inherited from MarshalByRefObject.)
Public method Dispose() Infrastructure.
Protected method Dispose(Boolean) Infrastructure.
Public method EnableTraceFlag(Int32) Infrastructure.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() Infrastructure. (Overrides Object.Finalize().)
Public method GetHashCode() (Inherited from Object.)
Public method GetLifetimeService() (Inherited from MarshalByRefObject.)
Public method GetType() (Inherited from Object.)
Public method InitializeLifetimeService() (Inherited from MarshalByRefObject.)
Public method IsSnapshotRequired() Connects to the Publisher or Distributor and the Subscriber to determine whether a new snapshot will be applied during the next agent synchronization.
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ProcessMessagesAtPublisher() Infrastructure.
Public method ProcessMessagesAtSubscriber() Infrastructure.
Public method Synchronize() Starts the Merge Agent to synchronize the subscription.
Public method ToString() (Inherited from Object.)

Top

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 Infrastructure.
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 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 Infrastructure.
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 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 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 Infrastructure.
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 Infrastructure.
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 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 SecureDistributorEncryptedPassword Infrastructure.
Public property SecurePublisherEncryptedPassword Infrastructure.
Public property SecureSubscriberEncryptedPassword Infrastructure.
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 Infrastructure.
Public property SubscriberDataSourceType Gets or sets the type of data source that is used as the Subscriber.
Public property SubscriberEncryptedPassword Infrastructure.
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

Events

  Name Description
Public event ComStatus Infrastructure.
Public event Status Occurs when the Merge Agent returns synchronization status information.

Top