







![]() ![]() |
MySQL Connector/Net |
ReplicationRoundRobinServerGroup..::..GetServer Method (Boolean) |
ReplicationRoundRobinServerGroup Class See Also Send Feedback |
![]() |
Gets an available server based on Round Robin load balancing
Namespace: MySql.Data.MySqlClient.Replication
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0
Syntax
C# |
---|
public override ReplicationServer GetServer( bool isMaster ) |
Visual Basic |
---|
Public Overrides Function GetServer ( _ isMaster As Boolean _ ) As ReplicationServer |
Visual C++ |
---|
public: virtual ReplicationServer^ GetServer( bool isMaster ) override |
Parameters
- isMaster
- Type: System..::..Boolean
True if the server to return must be a master