共用方式為


BusinessLogicModule.CommitHandler(SourceIdentifier, Guid) Method

Definition

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

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)

Parameters

source
SourceIdentifier

SourceIdentifier that indicates whether the source of the change is the Publisher or the Subscriber.

rowGuid
Guid

GUID of the row that was committed.

Applies to