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 所指定整數的識別碼。
備註
如需相關資訊,請參閱 Conflict Detection in Peer-to-Peer Replication。