Create
Methods
public static IReplicationServer Create(ReplicationServerConfig serverConfig, string additionalArguments = null)
Create a new ReplicationServer
instance with the given configuration.
Has to be started using Start
, and allows OnLog
and OnExit
events to be subscribed to.
Parameters
Type | Name | Description |
---|---|---|
ReplicationServerConfig | serverConfig | Configuration to use when starting the server. |
string | additionalArguments | Optional flags to add when starting the server. |
Returns
Type | Description |
---|---|
IReplicationServer | A new |