BusinessLogicModule.CommitHandler Método
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 (en Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Sintaxis
'Declaración
Public Overridable Sub CommitHandler ( _
source As SourceIdentifier, _
rowGuid As Guid _
)
'Uso
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
)
Parámetros
- source
Tipo: Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier
SourceIdentifier that indicates whether the source of the change is the Publisher or the Subscriber.
- rowGuid
Tipo: System.Guid
GUID of the row that was committed.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Replication.BusinessLogicSupport
Otros recursos
Ejecutar lógica de negocios durante la sincronización de mezcla
Implementar un controlador de lógica de negocios para un artículo de mezcla