Поделиться через


Метод 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.