BusinessLogicModule.UpdateConflictsHandler 메서드

정의

게시자와 구독자에서 충돌하는 UPDATE 문이 발생할 때 호출되는 사용자 지정 비즈니스 논리를 구현하는 선택적 메서드입니다.

public:
 virtual Microsoft::SqlServer::Replication::BusinessLogicSupport::ActionOnUpdateConflict UpdateConflictsHandler(System::Data::DataSet ^ publisherDataSet, System::Data::DataSet ^ subscriberDataSet, System::Data::DataSet ^ % customDataSet, Microsoft::SqlServer::Replication::BusinessLogicSupport::ConflictLogType % conflictLogType, System::String ^ % customConflictMessage, int % historyLogLevel, System::String ^ % historyLogMessage);
public virtual Microsoft.SqlServer.Replication.BusinessLogicSupport.ActionOnUpdateConflict UpdateConflictsHandler (System.Data.DataSet publisherDataSet, System.Data.DataSet subscriberDataSet, ref System.Data.DataSet customDataSet, ref Microsoft.SqlServer.Replication.BusinessLogicSupport.ConflictLogType conflictLogType, ref string customConflictMessage, ref int historyLogLevel, ref string historyLogMessage);
abstract member UpdateConflictsHandler : System.Data.DataSet * System.Data.DataSet * DataSet * ConflictLogType * string * int * string -> Microsoft.SqlServer.Replication.BusinessLogicSupport.ActionOnUpdateConflict
override this.UpdateConflictsHandler : System.Data.DataSet * System.Data.DataSet * DataSet * ConflictLogType * string * int * string -> Microsoft.SqlServer.Replication.BusinessLogicSupport.ActionOnUpdateConflict
Public Overridable Function UpdateConflictsHandler (publisherDataSet As DataSet, subscriberDataSet As DataSet, ByRef customDataSet As DataSet, ByRef conflictLogType As ConflictLogType, ByRef customConflictMessage As String, ByRef historyLogLevel As Integer, ByRef historyLogMessage As String) As ActionOnUpdateConflict

매개 변수

publisherDataSet
DataSet

게시자 데이터를 나타내는 데이터 집합입니다.

subscriberDataSet
DataSet

구독자 데이터를 나타내는 데이터 집합입니다.

customDataSet
DataSet

사용자 지정 비즈니스 논리가 구현하는 데이터 집합입니다.

conflictLogType
ConflictLogType

사용자 지정 비즈니스 논리 처리기가 요청하는 ConflictLogType입니다.

customConflictMessage
String

사용자 지정 비즈니스 논리 처리기가 반환하는 충돌 메시지입니다.

historyLogLevel
Int32

사용자 지정 비즈니스 논리 처리기가 반환하는 사용자 지정 메시지의 로그 수준입니다.

historyLogMessage
String

사용자 지정 비즈니스 논리 처리기가 제공하는 로그 메시지입니다. 이 로그 메시지는 배포 데이터베이스에 기록됩니다.

반환

사용자 지정 비즈니스 논리 처리기가 실행된 후 프로세스에서 수행할 ActionOnUpdateConflict 동작입니다.

적용 대상