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 命名空间

其他资源

在合并同步期间执行业务逻辑

实现合并项目的业务逻辑处理程序