Table of Contents

Struct ServerOpeningEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.dll

Occurs before a server is opened.

public struct ServerOpeningEvent
Inherited Members

Constructors

ServerOpeningEvent(ServerId, ServerSettings)

Initializes a new instance of the ServerOpeningEvent struct.

public ServerOpeningEvent(ServerId serverId, ServerSettings serverSettings)

Parameters

serverId ServerId

The server identifier.

serverSettings ServerSettings

The server settings.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

ServerId

Gets the server identifier.

public ServerId ServerId { get; }

Property Value

ServerId

ServerSettings

Gets the server settings.

public ServerSettings ServerSettings { get; }

Property Value

ServerSettings

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime