Compartir a través de


BusinessLogicModule.CommitHandler Method

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

Espacio de nombres: Microsoft.SqlServer.Replication.BusinessLogicSupport
Ensamblado: Microsoft.SqlServer.Replication.BusinessLogicSupport (in microsoft.sqlserver.replication.businesslogicsupport.dll)

Sintaxis

'Declaración
Public Overridable Sub CommitHandler ( _
    source As SourceIdentifier, _
    rowGuid As Guid _
)
public virtual void CommitHandler (
    SourceIdentifier source,
    Guid rowGuid
)
public:
virtual void CommitHandler (
    SourceIdentifier source, 
    Guid rowGuid
)
public void CommitHandler (
    SourceIdentifier source, 
    Guid rowGuid
)
public function CommitHandler (
    source : SourceIdentifier, 
    rowGuid : Guid
)

Parámetros

  • source
    SourceIdentifier that indicates whether the source of the change is the Publisher or the Subscriber.
  • rowGuid
    GUID of the row that was committed.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

BusinessLogicModule Class
BusinessLogicModule Members
Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace

Otros recursos

Ejecutar la lógica de negocios durante la sincronización de mezcla
How to: Implement a Business Logic Handler for a Merge Article (Replication Programming)