Struct ClusterRemovedServerEvent

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs after a server has been removed from the cluster.

public struct ClusterRemovedServerEvent

Inherited Members

Constructors

ClusterRemovedServerEvent(ServerId, string, TimeSpan)

Initializes a new instance of the ClusterRemovedServerEvent struct.

Properties

ClusterId

Gets the cluster identifier.

Duration

Gets the duration of time it took to remove the server.

Reason

Gets the reason the server was removed.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.