Table of Contents

Interface IServer

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

Represents a MongoDB server.

[Obsolete("This interface will be made internal in a later release.")]
public interface IServer

Properties

Description

Gets the server description.

EndPoint

Gets the end point.

ServerId

Gets the server identifier.

Methods

GetChannel(CancellationToken)

Gets a channel to the server.

GetChannelAsync(CancellationToken)

Gets a channel to the server.

Events

DescriptionChanged

Occurs when the server description changes.