MergeSubscription.Reinitialize 메서드

Marks the merge subscription for reinitialization.

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

public void Reinitialize(
	bool uploadFirst
)

매개 변수

uploadFirst
유형: System.Boolean
A Boolean value that specifies whether to upload all changes from the Subscriber before reapplying the snapshot to reinitialize the subscription. If true, the changes are uploaded before applying the snapshot. If false, the changes are not uploaded.

After calling the Reinitialize method, you must start synchronization to reinitialize the subscription. For more information, see 방법: 구독 다시 초기화(RMO 프로그래밍).

The Reinitialize 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 Reinitialize is equivalent to executing sp_reinitmergesubscription.

커뮤니티 추가 항목

추가
표시: