Table of Contents

Class ServerId

Namespace
MongoDB.Driver.Core.Servers
Assembly
MongoDB.Driver.dll

Represents a server identifier.

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

Constructors

ServerId(ClusterId, EndPoint)

Initializes a new instance of the ServerId class.

Properties

ClusterId

Gets the cluster identifier.

EndPoint

Gets the end point.

Methods

Equals(ServerId)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.