Table of Contents

Struct ConnectionPoolClearedEvent

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

Occurs after the pool is cleared.

public struct ConnectionPoolClearedEvent
Inherited Members

Constructors

ConnectionPoolClearedEvent(ServerId, ConnectionPoolSettings)

Initializes a new instance of the ConnectionPoolClearedEvent struct.

ConnectionPoolClearedEvent(ServerId, ConnectionPoolSettings, bool)

Initializes a new instance of the ConnectionPoolClearedEvent struct.

ConnectionPoolClearedEvent(ServerId, ConnectionPoolSettings, ObjectId?)

Initializes a new instance of the ConnectionPoolClearedEvent struct.

ConnectionPoolClearedEvent(ServerId, ConnectionPoolSettings, ObjectId?, bool)

Initializes a new instance of the ConnectionPoolClearedEvent struct.

Properties

CloseInUseConnections

Gets a value indicating whether in use connections should be closed.

ClusterId

Gets the cluster identifier.

ConnectionPoolSettings

Gets the connection pool settings.

ServerId

Gets the server identifier.

ServiceId

Gets the service identifier.

Timestamp

Gets the timestamp.