Click or drag to resize

IConnectionPool Interface

Represents a connection pool.

Namespace:  MongoDB.Driver.Core.ConnectionPools
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public interface IConnectionPool : IDisposable

The IConnectionPool type exposes the following members.

Properties
  NameDescription
Public propertyServerId
Gets the server identifier.
Top
Methods
  NameDescription
Public methodAcquireConnection
Acquires a connection.
Public methodAcquireConnectionAsync
Acquires a connection.
Public methodClear
Clears the connection pool.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodInitialize
Initializes the connection pool.
Top
See Also