BusinessLogicModule.UpdateDeleteConflictHandler 메서드

Optional method that implements the custom business logic invoked when UPDATE statements conflict with DELETE statements at the Publisher and at the Subscriber.

네임스페이스:  Microsoft.SqlServer.Replication.BusinessLogicSupport
어셈블리:  Microsoft.SqlServer.Replication.BusinessLogicSupport(Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

public virtual ActionOnUpdateDeleteConflict UpdateDeleteConflictHandler(
	SourceIdentifier updateSource,
	DataSet sourceDataSet,
	ref DataSet customDataSet,
	ref ConflictLogType conflictLogType,
	ref string customConflictMessage,
	ref int historyLogLevel,
	ref string historyLogMessage
)

매개 변수

updateSource
유형: Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier
Is the SourceIdentifier that indicates whether the source of the update is the Publisher or the Subscriber.
sourceDataSet
유형: System.Data.DataSet
Dataset that contains the GUID representing the row in conflict.
customDataSet
유형: System.Data.DataSet%
Dataset implemented by the custom business logic.
conflictLogType
유형: Microsoft.SqlServer.Replication.BusinessLogicSupport.ConflictLogType%
ConflictLogType requested by the custom business logic handler.
customConflictMessage
유형: System.String%
Conflict message returned by the custom business logic handler.
historyLogLevel
유형: System.Int32%
Log level of the custom message returned by the custom business logic handler.
historyLogMessage
유형: System.String%
Log message provided by custom business logic handler. The log message gets written to the distribution database.

반환 값

유형: Microsoft.SqlServer.Replication.BusinessLogicSupport.ActionOnUpdateDeleteConflict
The ActionOnUpdateDeleteConflict action that will be taken by the process after the custom business logic handler has executed.

커뮤니티 추가 항목

추가
표시: