BusinessLogicModule::UpdateDeleteConflictHandler Method (SourceIdentifier, DataSet^, DataSet^%, ConflictLogType%, String^%, Int32%, String^%)

 

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

Namespace:   Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

public:
virtual ActionOnUpdateDeleteConflict UpdateDeleteConflictHandler(
	SourceIdentifier updateSource,
	DataSet^ sourceDataSet,
	DataSet^% customDataSet,
	ConflictLogType% conflictLogType,
	String^% customConflictMessage,
	int% historyLogLevel,
	String^% historyLogMessage
)

Parameters

updateSource
Type: Microsoft.SqlServer.Replication.BusinessLogicSupport::SourceIdentifier

Is the SourceIdentifier that indicates whether the source of the update is the Publisher or the Subscriber.

sourceDataSet
Type: System.Data::DataSet^

Dataset that contains the GUID representing the row in conflict.

customDataSet
Type: System.Data::DataSet^%

Dataset implemented by the custom business logic.

conflictLogType
Type: Microsoft.SqlServer.Replication.BusinessLogicSupport::ConflictLogType%

ConflictLogType requested by the custom business logic handler.

customConflictMessage
Type: System::String^%

Conflict message returned by the custom business logic handler.

historyLogLevel
Type: System::Int32%

Log level of the custom message returned by the custom business logic handler.

historyLogMessage
Type: System::String^%

Log message provided by custom business logic handler. The log message gets written to the distribution database.

Return Value

Type: Microsoft.SqlServer.Replication.BusinessLogicSupport::ActionOnUpdateDeleteConflict

The ActionOnUpdateDeleteConflict action that will be taken by the process after the custom business logic handler has executed.

Return to top
Show: