언어

BusinessLogicModule.UpdateConflictsHandler 메서드

정의

Publisher와 Subscriber에서 상포되는 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

Publisher 데이터를 나타내는 데이터셋.

subscriberDataSet
DataSet

구독자 데이터를 나타내는 데이터셋.

customDataSet
DataSet

사용자 정의 비즈니스 로직으로 구현된 데이터셋입니다.

conflictLogType
ConflictLogType

ConflictLogType 커스텀 비즈니스 로직 핸들러가 요청했습니다.

customConflictMessage
String

커스텀 비즈니스 로직 핸들러에서 반환되는 충돌 메시지.

historyLogLevel
Int32

사용자 정의 비즈니스 로직 핸들러가 반환하는 사용자 지정 메시지의 로그 수준입니다.

historyLogMessage
String

사용자 정의 비즈니스 로직 핸들러가 제공하는 로그 메시지. 로그 메시지는 배포 데이터베이스에 기록됩니다.

반품

ActionOnUpdateConflict 맞춤형 비즈니스 로직 핸들러가 실행된 후 프로세스가 취할 행동입니다.

적용 대상