TransPublication.SetPeerConflictDetection 메서드

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

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

구문

‘선언
Public Sub SetPeerConflictDetection ( _
    enablePeerConflictDetection As Boolean, _
    peerOriginatorID As Integer _
)
‘사용 방법
Dim instance As TransPublication 
Dim enablePeerConflictDetection As Boolean 
Dim peerOriginatorID As Integer

instance.SetPeerConflictDetection(enablePeerConflictDetection, _
    peerOriginatorID)
public void SetPeerConflictDetection(
    bool enablePeerConflictDetection,
    int peerOriginatorID
)
public:
void SetPeerConflictDetection(
    bool enablePeerConflictDetection, 
    int peerOriginatorID
)
member SetPeerConflictDetection : 
        enablePeerConflictDetection:bool * 
        peerOriginatorID:int -> unit
public function SetPeerConflictDetection(
    enablePeerConflictDetection : boolean, 
    peerOriginatorID : int
)

매개 변수

  • enablePeerConflictDetection
    유형: System.Boolean
    A Boolean value. If true, the Distribution Agent detects any conflicts during synchronization. If false, the Distribution Agent does not detect conflicts.

주의

For more information, see 피어 투 피어 복제에서 충돌 검색.

참고 항목

참조

TransPublication 클래스

Microsoft.SqlServer.Replication 네임스페이스