BusinessLogicModule Class
Implements the custom business logic that is invoked during the merge replication synchronization process.
Assembly: Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
| Name | Description | |
|---|---|---|
![]() | BusinessLogicModule() | Constructor. |
| Name | Description | |
|---|---|---|
![]() | HandledChangeStates | Required property that returns information on the types of changes handled by the business logic module. |
| Name | Description | |
|---|---|---|
![]() | CommitHandler(SourceIdentifier, Guid) | Optional method implements the custom business logic that is invoked when a data change is committed during synchronization. |
![]() | DeleteErrorHandler(SourceIdentifier, DataSet^, ErrorLogType%, String^%, Int32, String^, Int32%, String^%) | Optional method that implements the custom business logic invoked when an error occurs at the time a DELETE statement is being uploaded or downloaded. |
![]() | DeleteHandler(SourceIdentifier, DataSet^, Int32%, String^%) | Optional method that implements the custom business logic invoked when DELETE statements are being uploaded or downloaded. |
![]() | Dispose() | Disposes of all used resources. This method is invoked after all the custom business logic has been executed. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Initialize(String^, String^, String^, String^, String^, String^) | Sends information about the article being synchronized to the business logic resolver when the Merge Agent is started. |
![]() | InsertErrorHandler(SourceIdentifier, DataSet^, ErrorLogType%, String^%, Int32, String^, Int32%, String^%) | Optional method implements the custom business logic invoked when an error occurs at the time an INSERT statement is being uploaded or downloaded. |
![]() | InsertHandler(SourceIdentifier, DataSet^, DataSet^%, Int32%, String^%) | Optional method that implements the custom business logic invoked when INSERT statements are being uploaded or downloaded. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | PhaseBegin(Boolean) | Optional method that indicates the beginning of an upload or download phase of the synchronization. |
![]() | ToString() | (Inherited from Object.) |
![]() | UpdateConflictsHandler(DataSet^, DataSet^, DataSet^%, ConflictLogType%, String^%, Int32%, String^%) | Optional method that implements the custom business logic invoked when conflicting UPDATE statements occur at the Publisher and at the Subscriber. |
![]() | UpdateDeleteConflictHandler(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. |
![]() | UpdateErrorHandler(SourceIdentifier, DataSet^, ErrorLogType%, String^%, Int32, String^, Int32%, String^%) | Optional method that implements the custom business logic invoked when an error occurs at the time an UPDATE statement is being uploaded or downloaded. |
![]() | UpdateHandler(SourceIdentifier, DataSet^, DataSet^%, Int32%, String^%) | Optional method that implements the custom business logic invoked when UPDATE statements are being uploaded or downloaded. |
An implementation needs to be provided only for the specific methods that contain the custom logic. If a user-defined implementation is not provided, the default action will be performed.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


