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


Свойство TransPublication.ContinueOnConflict

Determines whether the Distribution Agent continues to process changes after a conflict is detected.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public Property ContinueOnConflict As Boolean 
    Get 
    Set
'Применение
Dim instance As TransPublication 
Dim value As Boolean 

value = instance.ContinueOnConflict

instance.ContinueOnConflict = value
public bool ContinueOnConflict { get; set; }
public:
property bool ContinueOnConflict {
    bool get ();
    void set (bool value);
}
member ContinueOnConflict : bool with get, set
function get ContinueOnConflict () : boolean 
function set ContinueOnConflict (value : boolean)

Значение свойства

Тип: System.Boolean
If true, the Distribution Agent continues to process changes after a conflict is detected. If false, the agent stops.

Замечания

We recommend that you use the default value of false. When this option is set to true, the Distribution Agent tries to converge data in the topology by applying the conflicting row from the node that has the highest originator ID (PeerOriginatorID). This method does not guarantee convergence. You should make sure that the topology is consistent after a conflict is detected. For more information, see "Handling Conflicts" in Обнаружение конфликтов в одноранговой репликации.

См. также

Справочник

TransPublication Класс

Пространство имен Microsoft.SqlServer.Replication