Freigeben über


BusinessLogicModule.CommitHandler Method

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

Namespace: Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly : Microsoft.SqlServer.Replication.BusinessLogicSupport (in microsoft.sqlserver.replication.businesslogicsupport.dll)

Syntax

'Declaration
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
)

Parameter

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

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Ausführen der Geschäftslogik während der Mergesynchronisierung
How to: Implement a Business Logic Handler for a Merge Article (Replication Programming)