語言

TransPublication.SetPeerConflictDetection(Boolean, Int32) 方法

定義

啟用或停用點對點拓撲中節點的衝突偵測。

public:
 void SetPeerConflictDetection(bool enablePeerConflictDetection, int peerOriginatorID);
public void SetPeerConflictDetection(bool enablePeerConflictDetection, int peerOriginatorID);
member this.SetPeerConflictDetection : bool * int -> unit
Public Sub SetPeerConflictDetection (enablePeerConflictDetection As Boolean, peerOriginatorID As Integer)

參數

enablePeerConflictDetection
Boolean

true如果 散發代理程式 在同步過程中偵測到任何衝突;否則, false

peerOriginatorID
Int32

一個與 所 PeerOriginatorID指定的整數相符的 ID 。

備註

如需相關資訊,請參閱 Conflict Detection in Peer-to-Peer Replication

適用於