BusinessLogicModule.CommitHandler(SourceIdentifier, Guid) 方法

定义

可选方法实现在同步过程中提交数据更改时调用的自定义业务逻辑。

public:
 virtual void CommitHandler(Microsoft::SqlServer::Replication::BusinessLogicSupport::SourceIdentifier source, Guid rowGuid);
public virtual void CommitHandler (Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier source, Guid rowGuid);
abstract member CommitHandler : Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier * Guid -> unit
override this.CommitHandler : Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier * Guid -> unit
Public Overridable Sub CommitHandler (source As SourceIdentifier, rowGuid As Guid)

参数

source
SourceIdentifier

SourceIdentifier,它指示更改源自发布服务器还是订阅服务器。

rowGuid
Guid

已提交的行的 GUID。

适用于