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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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