Class RandomServerSelector
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Driver.Core.Clusters.ServerSelectors
Assembly
MongoDB.Driver.dll
Represents a selector that selects a random server.
public class RandomServerSelector : IServerSelector
Inheritance
RandomServerSelector
Implements
Inherited Members
Constructors
Initializes a new instance of the RandomServerSelector class.
Methods
SelectServers(ClusterDescription, IEnumerable)
Selects the servers.
Returns a string that represents the current object.