Udostępnij za pośrednictwem


TransPublication.SetPeerConflictDetection(Boolean, Int32) Method

Definition

Enables or disables conflict detection for a node in a peer-to-peer topology.

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)

Parameters

enablePeerConflictDetection
Boolean

true if the Distribution Agent detect any conflicts during synchronization; otherwise, false.

peerOriginatorID
Int32

An ID that matches the integer specified for PeerOriginatorID.

Remarks

For more information, see Conflict Detection in Peer-to-Peer Replication.

Applies to