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.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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