TransPublication.SetPeerConflictDetection(Boolean, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟用或停用點對點拓撲中節點的衝突偵測。
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。