Initialize the communication infrastructure for a database environment participating in a replicated application.Namespace: BerkeleyDB
Assembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 220.127.116.11
public void RepSetTransport( int envid, ReplicationTransportDelegate transport )
|Visual Basic (Declaration)|
Public Sub RepSetTransport ( _ envid As Integer, _ transport As ReplicationTransportDelegate _ )
public: void RepSetTransport( int envid, ReplicationTransportDelegate^ transport )
- Type: System..::.Int32
The local environment's ID. It must be a non-negative integer and uniquely identify this Berkeley DB database environment (see Replication environment IDs in the Programmer's Reference Guide for more information).
- Type: BerkeleyDB..::.ReplicationTransportDelegate
The delegate used to transmit data using the replication application's communication infrastructure.
RepSetTransport 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.