Udostępnij przez


TransPublication.ContinueOnConflict Property

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

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntax

'Deklaracja
Public Property ContinueOnConflict As Boolean
public bool ContinueOnConflict { get; set; }
public:
property bool ContinueOnConflict {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ContinueOnConflict ()

/** @property */
public void set_ContinueOnConflict (boolean value)
public function get ContinueOnConflict () : boolean

public function set ContinueOnConflict (value : boolean)

Property Value

If true, the Distribution Agent continues to process changes after a conflict is detected. If false, the agent stops.

Remarks

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 Conflict Detection in Peer-to-Peer Replication.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.