Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

C#
Visual Basic
Visual C++
Include Protected Members
Include Inherited Members

Berkeley DB .NET API Documentation
DatabaseEnvironment..::.RepStartMaster Method
DatabaseEnvironment Class See Also

RepStartMaster is not called by most replication applications. It should only be called by applications implementing their own network transport layer, explicitly holding replication group elections and handling replication messages outside of the replication manager framework.

Replication master environments are the only database environments where replicated databases may be modified. Replication client environments are read-only as long as they are clients. Replication client environments may be upgraded to be replication master environments in the case that the current master fails or there is no master present. If master leases are in use, this method cannot be used to appoint a master, and should only be used to configure a database environment as a master as the result of an election.

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

# Overload List

| Name | Description
--- | --- | ---
| RepStartMaster()()() | Configure the database environment as a master in a group of replicated database environments.
| RepStartMaster(DatabaseEntry) | Configure the database environment as a master in a group of replicated database environments.

# See Also

DatabaseEnvironment Class
DatabaseEnvironment Members
BerkeleyDB Namespace