共用方式為


BusinessLogicModule.CommitHandler 方法

Optional method implements the custom business logic that is invoked when a data change is committed during synchronization.

命名空間:  Microsoft.SqlServer.Replication.BusinessLogicSupport
組件:  Microsoft.SqlServer.Replication.BusinessLogicSupport (在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)

語法

'宣告
Public Overridable Sub CommitHandler ( _
    source As SourceIdentifier, _
    rowGuid As Guid _
)
'用途
Dim instance As BusinessLogicModule 
Dim source As SourceIdentifier 
Dim rowGuid As Guid

instance.CommitHandler(source, rowGuid)
public virtual void CommitHandler(
    SourceIdentifier source,
    Guid rowGuid
)
public:
virtual void CommitHandler(
    SourceIdentifier source, 
    Guid rowGuid
)
abstract CommitHandler : 
        source:SourceIdentifier * 
        rowGuid:Guid -> unit  
override CommitHandler : 
        source:SourceIdentifier * 
        rowGuid:Guid -> unit
public function CommitHandler(
    source : SourceIdentifier, 
    rowGuid : Guid
)

參數

  • rowGuid
    型別:System.Guid
    GUID of the row that was committed.

請參閱

參考

BusinessLogicModule 類別

Microsoft.SqlServer.Replication.BusinessLogicSupport 命名空間

其他資源

在合併同步處理期間執行商務邏輯

為合併發行項實作商務邏輯處理常式