Method SelectServers
- Namespace
- MongoDB.Driver.Core.Clusters.ServerSelectors
- Assembly
- MongoDB.Driver.Core.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.