Implements the custom business logic that is invoked during the merge replication synchronization process.
The following tables list the members exposed by the BusinessLogicModule type.
Protected Constructors
| 名称 | Description | |
|---|---|---|
| BusinessLogicModule | Constructor. | 
顶部
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | HandledChangeStates | Required property that returns information on the types of changes handled by the business logic module. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | CommitHandler | Optional method implements the custom business logic that is invoked when a data change is committed during synchronization. | 
| .gif) | DeleteErrorHandler | Optional method that implements the custom business logic invoked when an error occurs at the time a DELETE statement is being uploaded or downloaded. | 
| .gif) | DeleteHandler | Optional method that implements the custom business logic invoked when DELETE statements are being uploaded or downloaded. | 
| .gif) | Dispose | Disposes of all used resources. This method is invoked after all the custom business logic has been executed. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | Initialize | Sends information about the article being synchronized to the business logic resolver when the Merge Agent is started. | 
| .gif) | InsertErrorHandler | Optional method implements the custom business logic invoked when an error occurs at the time an INSERT statement is being uploaded or downloaded. | 
| .gif) | InsertHandler | Optional method that implements the custom business logic invoked when INSERT statements are being uploaded or downloaded. | 
| .gif) | PhaseBegin | Optional method that indicates the beginning of an upload or download phase of the synchronization. | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ToString | (inherited from Object ) | 
| .gif) | UpdateConflictsHandler | Optional method that implements the custom business logic invoked when conflicting UPDATE statements occur at the Publisher and at the Subscriber. | 
| .gif) | UpdateDeleteConflictHandler | Optional method that implements the custom business logic invoked when UPDATE statements conflict with DELETE statements at the Publisher and at the Subscriber. | 
| .gif) | UpdateErrorHandler | Optional method that implements the custom business logic invoked when an error occurs at the time an UPDATE statement is being uploaded or downloaded. | 
| .gif) | UpdateHandler | Optional method that implements the custom business logic invoked when UPDATE statements are being uploaded or downloaded. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
BusinessLogicModule Class
Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace
其他资源
在合并同步期间执行业务逻辑
How to: Implement a Business Logic Handler for a Merge Article (Replication Programming)