Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
DatabaseEnvironment..::.RepSync Method
DatabaseEnvironment Class See Also Send Feedback

Force master synchronization to begin for this client.

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

# Syntax

C#
    public void RepSync()

Visual Basic (Declaration)
    Public Sub RepSync

Visual C++
    public:
    void RepSync()

# Remarks

This method is the other half of setting RepDelayClientSync.

If an application has configured delayed master synchronization, the application must synchronize explicitly (otherwise the client remains out-of-date and ignores database changes forwarded from the replication group master). RepSync may be called any time after the client application learns that the new master has been established (by receiving REP_NEWMASTER).

Before calling this method, the RepTransport delegate must already have been configured to send replication messages.

# See Also

DatabaseEnvironment Class
BerkeleyDB Namespace