共用方式為


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 命名空間