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 | |
---|---|---|
![]() |
AlternateSynchronizationPartnerCollection | Gets the alternate synchronization partners for a subscription. |
![]() |
AltSnapshotFolder | Gets or sets the alternate snapshot folder for the subscription. |
![]() |
ComErrorCollection | Gets a collection of errors generated by the replication agent. |
![]() |
Distributor | Gets or sets the name of the instance of Microsoft SQL Server that is acting as the Distributor for the subscription. |
![]() |
DistributorAddress | Gets or sets the network address that is used to connect to the Distributor when the DistributorNetwork property is specified. |
![]() |
DistributorEncryptedPassword | |
![]() |
DistributorLogin | Gets or sets the login name that is used when connecting to the Distributor using SQL Server Authentication. |
![]() |
DistributorNetwork | Gets or sets the client Net-Library that is used when connecting to the Distributor. |
![]() |
DistributorPassword | Sets the password that is used when connecting to the Distributor using SQL Server Authentication. |
![]() |
DistributorSecurityMode | Gets or sets the security mode used when connecting to the Distributor. |
![]() |
DynamicSnapshotLocation | Gets or sets the location of the partitioned snapshot for this Subscriber. |
![]() |
ExchangeType | Gets or sets how data is exchanged during synchronization. |
![]() |
FileTransferType | Gets or sets how the initial snapshot files are transferred to the Subscriber. |
![]() |
HostName | Gets or sets the value used by the Merge Agent when it evaluates a parameterized filter that uses the HOST_NAME function. |
![]() |
InputMessageFile | |
![]() |
InternetLogin | Gets or sets the login name that is used with Web synchronization when connecting to the Publisher by using Internet authentication. |
![]() |
InternetPassword | Sets the password for the InternetLogin property that is used with Web synchronization when connecting to the Publisher by using Internet authentication. |
![]() |
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. |
![]() |
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. |
![]() |
InternetProxyServer | Gets or sets the name of the Internet proxy server that is used with Web synchronization when connecting to the Web server. |
![]() |
InternetSecurityMode | Gets or sets the HTTP authentication method that is used when connecting to the Web server during Web synchronization. |
![]() |
InternetTimeout | Gets or sets the HTTP time-out when connecting to the Web server. |
![]() |
InternetUrl | Gets or sets the URL of the Web service that is configured for Web synchronization. |
![]() |
LastUpdatedTime | Gets the timestamp of the last time that replication agent synchronized the subscription. |
![]() |
LoginTimeout | Gets or sets the maximum number of seconds to wait for connections to be established. |
![]() |
MetadataRetentionCleanup | Get or sets whether to clean up metadata. |
![]() |
Output | Gets or sets the agent output file. |
![]() |
OutputMessageFile | |
![]() |
OutputVerboseLevel | Gets or sets the level of detail of information that is written to the agent output file. |
![]() |
ProfileName | Gets or sets the name of the profile that is used by the agent. |
![]() |
Publication | Gets or sets the name of the publication. |
![]() |
Publisher | Gets or sets the name of the instance of Microsoft SQL Server that is the Publisher for the subscription. |
![]() |
PublisherAddress | Gets or sets the network address that is used to connect to the Publisher when the PublisherNetwork property is specified. |
![]() |
PublisherChanges | Gets the total number of Publisher changes that were applied at the Subscriber during the last synchronization. |
![]() |
PublisherConflicts | Gets the total number of conflicts that occurred at the Publisher during the last synchronization. |
![]() |
PublisherDatabase | Gets or sets the name of the publication database. |
![]() |
PublisherEncryptedPassword | |
![]() |
PublisherFailoverPartner | Gets or sets the failover partner instance of SQL Server that is participating in a database mirroring session with the publication database. |
![]() |
PublisherLogin | Gets or sets the login name that is used when connecting to the Publisher by using SQL Server Authentication. |
![]() |
PublisherNetwork | Gets or sets the client Net-Library that is used when connecting to the Publisher. |
![]() |
PublisherPassword | Sets the password that is used when connecting to the Publisher by using SQL Server Authentication. |
![]() |
PublisherSecurityMode | Gets or sets the security mode that is used when connecting to the Publisher. |
![]() |
QueryTimeout | Gets or sets the number of seconds that are allowed for internal queries to finish. |
![]() |
SecureDistributorEncryptedPassword | |
![]() |
SecurePublisherEncryptedPassword | |
![]() |
SecureSubscriberEncryptedPassword | |
![]() |
Subscriber | Gets or sets the name of the instance of Microsoft SQL Server that is the Subscriber. |
![]() |
SubscriberChanges | Gets the total number of Subscriber changes that were applied at the Publisher during the last synchronization. |
![]() |
SubscriberConflicts | Gets the total number of conflicts that occurred at the Publisher during the last synchronization. |
![]() |
SubscriberDatabase | Gets or sets the name of the subscription database. |
![]() |
SubscriberDatabasePath | |
![]() |
SubscriberDataSourceType | Gets or sets the type of data source that is used as the Subscriber. |
![]() |
SubscriberEncryptedPassword | |
![]() |
SubscriberLogin | Gets or sets the login name used that is when connecting to the Subscriber by using SQL Server Authentication. |
![]() |
SubscriberPassword | Sets the password that is used when connecting to the Subscriber by using SQL Server Authentication. |
![]() |
SubscriberSecurityMode | Gets or sets the security mode used when connecting to the Subscriber. |
![]() |
SubscriptionType | Gets or sets whether the subscription is a push or pull subscription. |
![]() |
SyncToAlternate | Gets or sets whether the synchronization is to an alternate synchronization partner. |
![]() |
UseInteractiveResolver | Gets or sets whether the interactive resolver is used during reconciliation. |
![]() |
UseWebSynchronization | Gets or sets whether Web synchronization is used. |
![]() |
Validate | Gets or sets whether data validation is performed on the Subscriber data at the end of the synchronization. |
![]() |
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 | |
---|---|---|
![]() |
Abort | |
![]() |
ClearAllTraceFlags | |
![]() |
ClearTraceFlag | |
![]() |
CreateObjRef | (inherited from MarshalByRefObject ) |
![]() |
Dispose | Overloaded. |
![]() |
EnableTraceFlag | |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetLifetimeService | (inherited from MarshalByRefObject ) |
![]() |
GetType | (inherited from Object ) |
![]() |
InitializeLifetimeService | (inherited from MarshalByRefObject ) |
![]() |
IsSnapshotRequired | Connects to the Publisher or Distributor and the Subscriber to determine whether a new snapshot will be applied during the next agent synchronization. |
![]() |
ProcessMessagesAtPublisher | |
![]() |
ProcessMessagesAtSubscriber | |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
Synchronize | Starts the Merge Agent to synchronize the subscription. |
![]() |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Dispose | Overloaded. |
![]() |
Finalize | Overridden. |
![]() |
MemberwiseClone | Overloaded. (inherited from MarshalByRefObject ) |
Top
Public Events
Name | Description | |
---|---|---|
![]() |
ComStatus | |
![]() |
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