Click or drag to resize

ICluster Interface

Represents a MongoDB cluster.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public interface ICluster : IDisposable

The ICluster type exposes the following members.

Properties
  NameDescription
Public propertyClusterId
Gets the cluster identifier.
Public propertyCryptClient
Gets the crypt client.
Public propertyDescription
Gets the cluster description.
Public propertySettings
Gets the cluster settings.
Top
Methods
  NameDescription
Public methodAcquireServerSession
Acquires a core server session.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodInitialize
Initializes the cluster.
Public methodSelectServer
Selects a server from the cluster.
Public methodSelectServerAsync
Selects a server from the cluster.
Public methodStartSession
Starts a session.
Top
Events
  NameDescription
Public eventDescriptionChanged
Occurs when the cluster description has changed.
Top
See Also