共用方式為


BusinessLogicModule Members

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
ms149627.pubproperty(zh-tw,SQL.90).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
ms149627.pubmethod(zh-tw,SQL.90).gif CommitHandler Optional method implements the custom business logic that is invoked when a data change is committed during synchronization.
ms149627.pubmethod(zh-tw,SQL.90).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.
ms149627.pubmethod(zh-tw,SQL.90).gif DeleteHandler Optional method that implements the custom business logic invoked when DELETE statements are being uploaded or downloaded.
ms149627.pubmethod(zh-tw,SQL.90).gif Dispose Disposes of all used resources. This method is invoked after all the custom business logic has been executed.
ms149627.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms149627.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms149627.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms149627.pubmethod(zh-tw,SQL.90).gif Initialize Sends information about the article being synchronized to the business logic resolver when the Merge Agent is started.
ms149627.pubmethod(zh-tw,SQL.90).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.
ms149627.pubmethod(zh-tw,SQL.90).gif InsertHandler Optional method that implements the custom business logic invoked when INSERT statements are being uploaded or downloaded.
ms149627.pubmethod(zh-tw,SQL.90).gif PhaseBegin Optional method that indicates the beginning of an upload or download phase of the synchronization.
ms149627.pubmethod(zh-tw,SQL.90).gifms149627.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms149627.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )
ms149627.pubmethod(zh-tw,SQL.90).gif UpdateConflictsHandler Optional method that implements the custom business logic invoked when conflicting UPDATE statements occur at the Publisher and at the Subscriber.
ms149627.pubmethod(zh-tw,SQL.90).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.
ms149627.pubmethod(zh-tw,SQL.90).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.
ms149627.pubmethod(zh-tw,SQL.90).gif UpdateHandler Optional method that implements the custom business logic invoked when UPDATE statements are being uploaded or downloaded.

頂端

Protected Methods

  名稱 Description
ms149627.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms149627.protmethod(zh-tw,SQL.90).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)