Table of Contents

Class ReplicaSetConfig

Namespace
MongoDB.Driver.Core.Clusters
Assembly
MongoDB.Driver.Core.dll

Represents the config of a replica set (as reported by one of the members of the replica set).

public sealed class ReplicaSetConfig : IEquatable<ReplicaSetConfig>
Inheritance
ReplicaSetConfig
Implements
Inherited Members

Constructors

ReplicaSetConfig(IEnumerable<EndPoint>, string, EndPoint, int?)

Initializes a new instance of the ReplicaSetConfig class.

Properties

Empty

Gets an empty replica set config.

Members

Gets the members.

Name

Gets the name of the replica set.

Primary

Gets the primary.

Version

Gets the replica set config version.

Methods

Equals(ReplicaSetConfig)
Equals(object)
GetHashCode()