MergePublication.EnableSynchronizationPartner(SynchronizationPartner) MergePublication.EnableSynchronizationPartner(SynchronizationPartner) MergePublication.EnableSynchronizationPartner(SynchronizationPartner) Method

정의

이 병합 게시에 대해 지정된 동기화 파트너를 사용하도록 설정합니다. 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);
Public Sub EnableSynchronizationPartner (syncPartner As SynchronizationPartner)
매개 변수
syncPartner
SynchronizationPartner SynchronizationPartner SynchronizationPartner

대체 동기화 원본입니다. The alternative synchronization source.

설명

참고

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.

EnableSynchronizationPartner 메서드의 구성원만 호출할 수는 sysadmin 고정된 서버 역할의 멤버 또는 게시자에는 db_owner 게시 데이터베이스의 고정된 데이터베이스 역할입니다.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.

호출 EnableSynchronizationPartner 를 실행 하는 것과 같습니다 sp_addmergealternatepublisher합니다.Calling EnableSynchronizationPartner is equivalent to executing sp_addmergealternatepublisher.

적용 대상