Method SelectServers
- Namespace
- MongoDB.Driver.Core.Clusters.ServerSelectors
- Assembly
- MongoDB.Driver.dll
SelectServers(ClusterDescription, IEnumerable<ServerDescription>)
Selects the servers.
IEnumerable<ServerDescription> SelectServers(ClusterDescription cluster, IEnumerable<ServerDescription> servers)
Parameters
cluster
ClusterDescriptionThe cluster.
servers
IEnumerable<ServerDescription>The servers.
Returns
- IEnumerable<ServerDescription>
The selected servers.