Bagikan melalui


BusinessLogicModule.CommitHandler(SourceIdentifier, Guid) Metode

Definisi

Metode opsional mengimplementasikan logika bisnis kustom yang dipanggil saat perubahan data dilakukan selama sinkronisasi.

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)

Parameter

source
SourceIdentifier

SourceIdentifier yang menunjukkan apakah sumber perubahan adalah Penerbit atau Pelanggan.

rowGuid
Guid

GUID baris yang diterapkan.

Berlaku untuk