Share via


MergePublication.DisableSynchronizationPartner(String, String, String) Method

Definition

Disables the specified synchronization partner for this merge publication.

public:
 void DisableSynchronizationPartner(System::String ^ publisher, System::String ^ publicationDB, System::String ^ publication);
public void DisableSynchronizationPartner (string publisher, string publicationDB, string publication);
member this.DisableSynchronizationPartner : string * string * string -> unit
Public Sub DisableSynchronizationPartner (publisher As String, publicationDB As String, publication As String)

Parameters

publisher
String

The Publisher name.

publicationDB
String

The publication database name.

publication
String

The publication name.

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 DisableSynchronizationPartner 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 DisableSynchronizationPartner is equivalent to executing sp_dropmergealternatepublisher.

Applies to