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.
- peerOriginatorID
类型:System. . :: . .Int32
An ID that matches the integer specified for PeerOriginatorID.