Click or drag to resize

IServer Interface

Represents a MongoDB server.

Namespace:  MongoDB.Driver.Core.Servers
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public interface IServer

The IServer type exposes the following members.

Properties
  NameDescription
Public propertyDescription
Gets the server description.
Public propertyEndPoint
Gets the end point.
Public propertyServerId
Gets the server identifier.
Top
Methods
  NameDescription
Public methodGetChannel
Gets a channel to the server.
Public methodGetChannelAsync
Gets a channel to the server.
Top
Events
  NameDescription
Public eventDescriptionChanged
Occurs when the server description changes.
Top
See Also