Add a new replication site to the replication manager's list of
known sites. It is not necessary for all sites in a replication
group to know about all other sites in the group.
Namespace:
BerkeleyDBAssembly: libdb_dotnet50 (in libdb_dotnet50.dll) Version: 5.0.18.0
Syntax
| C# |
|---|
public int RepMgrAddRemoteSite( ReplicationHostAddress Host, bool isPeer ) |
| Visual Basic (Declaration) |
|---|
Public Function RepMgrAddRemoteSite ( _ Host As ReplicationHostAddress, _ isPeer As Boolean _ ) As Integer |
| Visual C++ |
|---|
public: int RepMgrAddRemoteSite( ReplicationHostAddress^ Host, bool isPeer ) |
Parameters
- Host
- Type: BerkeleyDB..::.ReplicationHostAddress
The remote site's address
- isPeer
- Type: System..::.Boolean
If true, configure client-to-client synchronization with the specified remote site.
Return Value
The environment ID assigned to the remote site
Remarks
Currently, the replication manager framework only supports a single
client peer, and the last specified peer is used.