Struct ServerOpenedEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs after a server is opened.

public struct ServerOpenedEvent

Inherited Members

ValueType.Equals(object)

ValueType.GetHashCode()

ValueType.ToString()

object.Equals(object, object)

object.GetType()

object.ReferenceEquals(object, object)

Constructors

ServerOpenedEvent(ServerId, ServerSettings, TimeSpan)

Initializes a new instance of the ServerOpenedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

Duration

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

ServerId

Gets the server identifier.

ServerSettings

Gets the server settings.

Timestamp

Gets the timestamp.