MergePublication.EnableSynchronizationPartner(SynchronizationPartner) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables a specified synchronization partner for this merge publication.
public:
void EnableSynchronizationPartner(Microsoft::SqlServer::Replication::SynchronizationPartner ^ syncPartner);
public void EnableSynchronizationPartner (Microsoft.SqlServer.Replication.SynchronizationPartner syncPartner);
member this.EnableSynchronizationPartner : Microsoft.SqlServer.Replication.SynchronizationPartner -> unit
Public Sub EnableSynchronizationPartner (syncPartner As SynchronizationPartner)
Parameters
- syncPartner
- SynchronizationPartner
The alternative synchronization source.
Remarks
Note
This feature will be removed in a future version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.
The EnableSynchronizationPartner method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.
Calling EnableSynchronizationPartner is equivalent to executing sp_addmergealternatepublisher.