Freigeben über


BusinessLogicModule.CommitHandler-Methode

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 _
)
'Usage
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
)

Parameter

  • rowGuid
    Typ: System.Guid
    GUID of the row that was committed.

Siehe auch

Verweis

BusinessLogicModule Klasse

Microsoft.SqlServer.Replication.BusinessLogicSupport-Namespace

Andere Ressourcen

Ausführen der Geschäftslogik während der Mergesynchronisierung

Implementieren eines Geschäftslogikhandlers für einen Mergeartikel