MySQL Connector/Net
ReplicationServerGroupAddServer Method |
Adds a server into the group
Namespace: MySql.Data.MySqlClient.Replication
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

protected internal ReplicationServer AddServer( string name, bool isMaster, string connectionString )
Protected Friend Function AddServer ( name As String, isMaster As Boolean, connectionString As String ) As ReplicationServer
protected public: ReplicationServer^ AddServer( String^ name, bool isMaster, String^ connectionString )
member AddServer : name : string * isMaster : bool * connectionString : string -> ReplicationServer
Parameters
- name
- Type: SystemString
Server name - isMaster
- Type: SystemBoolean
True if the server to add is master, False for slave server - connectionString
- Type: SystemString
Connection string used by this server
Return Value
Type: ReplicationServer