Share via


MergePublication.EnableSynchronizationPartner 메서드

Enables a specified synchronization partner for this merge publication.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Sub EnableSynchronizationPartner ( _
    syncPartner As SynchronizationPartner _
)
‘사용 방법
Dim instance As MergePublication 
Dim syncPartner As SynchronizationPartner

instance.EnableSynchronizationPartner(syncPartner)
public void EnableSynchronizationPartner(
    SynchronizationPartner syncPartner
)
public:
void EnableSynchronizationPartner(
    SynchronizationPartner^ syncPartner
)
member EnableSynchronizationPartner : 
        syncPartner:SynchronizationPartner -> unit
public function EnableSynchronizationPartner(
    syncPartner : SynchronizationPartner
)

매개 변수

주의

[!참고]

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

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.

참고 항목

참조

MergePublication 클래스

Microsoft.SqlServer.Replication 네임스페이스

관련 자료

SQL Server 복제에서 사용되지 않는 기능